Código HTML:
<html xmlns:fb='http://www.facebook.com/2008/fbml'>
Código HTML:
<div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({ appId : '------------------', status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); }; (function() { var e = document.createElement('script'); e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; e.async = true; document.getElementById('fb-root').appendChild(e); }()); </script>
Código HTML:
<fb:comments width="500" xid="comentarios"></fb:comments>