Print this page
Thursday, 09 January 2014 23:00

how to add facebook comments in website

Written by 
Rate this item
(0 votes)
Nowadays, facebook became the great social media  to promote businesses and for personal matters.
Many sites using facebook comments in pages/under post to get remarks/comments from their users and
gaining more popularity and interest
I show in this post how to add facebook comment box in any website even if you don't know
much about site coding. refer to the comment plugin url here . in this url all you have to do is
enter the parameters like "URL to comment on(enter the page url where you desire to make comment box appear)"
& "width" and others at first and hit get code button for getting the code to be placed in your website as html codes -

here i show a test codes of html5 implementation, in the same way you can use other type of codes -

<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/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-comments" data-href="programminghelp24.com/tips/" data-numposts="5" data-colorscheme="light"></div>

look for the parameters in this code, you can re-enter parameters value in the plugin url according to your
deliberate need, and click get code button to get the new code.Copy and paste this code in your site where you
want to show comment box to your valuable users and afterwards get hundreds of comments for the page/post
which quite look like facebook comments.

hope it helped you very much, have further questions?, post in discussions/forum/questions page
to get help.
Read 2835 times
Super User

Email This email address is being protected from spambots. You need JavaScript enabled to view it.
7