Header Ads

Breaking News

HOW TO EMBEDE FACEBOOK COMMENT IN WEBSITE / BLOG?

Is very simple to add facebook COMMENT on your blog or web site so as people can like you facebook page through your website or blog.

Image result for FACEBOOK COMMENT IMAGE

Follow the following steps

copy the following code and pest on you html code 
ideally right after the opening <body> tag.

<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_US/sdk.js#xfbml=1&version=v2.6&appId=1122865561058458";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>


Then copy the code below, Place this code wherever you want the plugin to appear on your page  

<div class="fb-comments" data-href="http://geosanh.blogspot.com/" data-numposts="5"></div> 

Nb: change the URL http://geosanh.blogspot.com and write your own url of you web site or blog


 



No comments