How to Add Facebook Comment Plugin on Blogspot


Add Facebook Comment PluginComment is a response/criticism/suggestion in the form of voice or write by someone to against something that is being observed. Comments are not only expressed about a positive thing, but comments can also be expressed on something negative.

Social media such as Twitter, Facebook or other community sites also provide a comment column so users can interact with each other. Including Blogspot, we can also comment on sites that are Blogspot based. Sometimes, we feel that the comment column provided by the Blogspot is not optimal. Can we change the comment box with others like Facebook comment box? YES. You can follow the tutorial below:

How to Add Facebook Comments on Blogspot

1. Hide blogger comments first
  • Enter your blogger account
  • Then enter the settings > post > comments and sharing
  • In the Comment Location, Select "Hide" 
  • Click the Save Setting button Finished.

2. Copy code below and paste this code under <body>
<div id="fb-root"></div>
<script> //<![CDATA[
  (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 = 'https://connect.facebook.net/id_ID/sdk.js#xfbml=1&version=v3.1';
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
//]]> </script>

3. Search for the following code
<b:include cond='data:view.isSingleItem' data='post' name='comment_picker'/>
or
<b:include cond='data:view.isSingleItem' data='post' name='commentPicker'/>

if you don't find it, search "commentPicker", usually there is only 1 in a template

4. Drop this code under the "commentPicker" code.
<b:if cond='data:view.isSingleItem'>
<div class='fb-comments' data-numposts='5' expr:data-href='data:blog.canonicalUrl' data-width='100%'></div>
</b:if>

You can set the number of comments that appear at the beginning of the data-numposts code

5. Finally, Save it.

I think enough, I hope this article can help netizens who wanna add facebook comment Plugin on Blogger. If this article is useful, you can share this article with your friends or social media. Good Luck!

DONATION All donations are open, you can donate to us using Paypal, Bitcoin, Litcoin or Ethereum. Your donation will be used to extend and keep this domain alive. Thank you!
Newer Posts Newer Posts Older Posts Older Posts

Related Posts

Comments

Post a Comment