1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

problem with iframe code facebook

Discussion in 'FaceBook' started by balador89, Dec 31, 2011.

  1. balador89

    balador89 Newbie

    Joined:
    May 5, 2011
    Messages:
    42
    Likes Received:
    3
    I want a code for an iframe script viral facebook but when I go to hxxp://developers.facebook.com/docs/reference/plugins/like/
    when I add the link to my site it show me HTML5 code and xfbml code Iframe but for iframe code it's show this message

    This plugin does not have an iframe implementation with the selected options. Please use the SDK JavaScript and the HTML5 or XFBML implementations, or change the value of the send parameter.

    please help me !!!
    and i'm sorry my english it's not good
     
  2. G-S-T

    G-S-T Executive VIP Jr. VIP

    Joined:
    Jan 20, 2011
    Messages:
    1,869
    Likes Received:
    8,860
    Occupation:
    Full time IM
    Location:
    Heavy in the game
    In the HTML of your webpage, find <body> and paste this on the line below it:
    Code:
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    
     
    • Thanks Thanks x 1