problem with iframe code facebook

balador89

Newbie
Joined
May 5, 2011
Messages
42
Reaction score
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
 
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>
 
Back
Top