Enable Facebook Comments For Blogger

Enable Facebook Comments For Blogger

Facebook comments plugin lets people comment on post on your site using their Facebook account. People can also share their comment activity on facebook with their friends. Blogger also has its comment system which currently do not have support for the facebook comments. Adding below codes you can easily install facebook comment plugin to blogger.


Live Demo


How to use facebook comments in blogger ?

Step1: Go to Blogger > Theme > Edit html.

Step2: Click any where in the codes and search for <b:includable id='comments' var='post'> using Ctrl+F.

Step3: Paste below codes just after <b:includable id='comments' var='post'>

<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/sdk.js#xfbml=1&amp;version=v2.9&amp;appId=1466215120067047";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-comments" expr:href="data:blog.url" data-width="100%" data-numposts="5"></div>

Step4: Now search for ]]></b:skin> and place below CSS before it to hide blogger default comment box.

#comments {
display: none!important;
}

Step5: Save changes.

3 comments:

  1. I really loved reading your blog. It was very well authored and easy to understand. Unlike other blogs I have read which are really not that good.Thanks alot!friv jogos online
    jogos online 2019
    friv jogos 4 school online

    ReplyDelete
  2. Wow I can say that this is another great article as expected of this blog.I would like to thank you for the efforts you have made in writing this article.Cheers for sharing with us your wonderful blog.
    kizi com
    games free for kids
    free friv Games 2019

    ReplyDelete
  3. I knew at a young age that the nasty green shot you got at the health food store or juice bar, that was followed with an orange squad (yes, an orange wedge, but I called them squads) was good for me, but I had no idea why, the same kinda follows now, except I know a few more details about it's real health benefits, because I am genuinely interested in what it provides to my overall well-being.
    Jogo para criança
    360 jogo jogar
    io games 4 school

    ReplyDelete