How to Add Facebook Comments System in Blogger

In the past, we have already covered How to Add Google+ Comments, Disqus Commenting system and LiveFyre Commenting system in Blogger. Recently, one of our users asked us how to add Facebook Comments in Blogger? Today in this article, we will show you How to Add Facebook Comments System in Blogger. We will also discuss the Pros and cons of using Facebook Comments on your website, so that you can make an ingenious decision whether to for it or not.

Advantages of Facebook Comments in Blogger

Facebook is the most viral social networking site, so it might be the reason why one should always think about making use of all the features that it provides to the publishers and developers. However, I would not push anyone to start using Facebook comments without knowing its advantage. Every site has their own priorities and concerns but for the sake of an ongoing argument, let us first take a look at the following pros of adding Facebook Comments in Blogger.

Whenever someone likes or reply to their comment, Facebook sent an automatic notification to user. The author or other users might also receive the same notification if they are following the topic.

Unlike Google+ and others, it provides multiple commenting options. For example, if someone is not a Facebook user then he can use his Yahoo, AOL or Outlook id to comment on your website, so your visitor never gets locked out.

Whenever a registered user is caught spamming, Facebook automatically treats him with a security code while the rest of the loyal visitors keep on commenting without any worry. If that spammer didn’t even stop then, Facebook holds the authority to disable him from commenting.

Disadvantages of Facebook Comments in Blogger:

You are totally depending upon Facebook. Though it is a reliable brand, but sometime minor glitches happen. What would you do if Facebook suffers some down time. Since, all the scripts you are using is hosted on Facebook, so you never know when the comments get disappear.

Nonetheless, it is unlikely to happen because Facebook is a well-known site with quality backup server. However, you never know what would be the next thing to come.

How to Add Facebook Comments in Blogger:

Step#1: Creating a New Application:
The First thing you need to do is to create a separate App ID for your application and that can be done easily through Facebook Developer. Login to your Facebook account and go to Facebook Developers website. This places allow Developers to manage their apps hosted at Facebook, click on Create New App button.

A Small pop out will appear which would ask you to insert little information about your application. There are two fields, write the App name and press the continue button.

Now you will land of a new page which would provide you your application details like App ID, App name and etc. You need to copy these keys and enter them later.

Step#2: Installing Facebook Comments in Blogger:

The First thing you need to do is to Login into your Blogger account. Now from the dashboard go to Template >> Edit HTML and search for the following highlighted HTML attribution. (Quick Tip: This code is usually present at the first lines of your template’s coding).

<html ...... xmlns:expr='http://www.google.com/2005/gml/expr'>

Now just next to the highlighted code (as shown above) add xmlns:og='http://ogp.me/ns#'. Once everything is down, it would somewhat look like this. (Quick Tip: Make sure you leave a space between these two codes).

Now you need to add Facebook Open graph Meta Tags, We have written a detail tutorial on it that can be viewed from here. However, search for </head> and just above it paste the following code. Make sure to replace the YOUR_APP_ID with your Facebook application id.

<meta property="fb:app_id" content="YOUR_APP_ID" />

Step#3: Adding Facebook Comments in Blogger:

Last step is to implement Facebook Comments using the HTML Code. In the template, search for <b:includable id='comment-form' var='post'> and just below it paste the following HTML Coding. Incase, you are unable to find <b:includable id='comment-form' var='post'> then you can paste it just below <div class='post-footer-line post-footer-line-1'></div> (Make sure you repeat the process because there are more than 1 tags on you theme).

<b:if

cond='data:blog.pageType == "item"'>

<div

style='padding:20px 0px 5px 0px; margin:0px 0px 0px 0px;'>

<script

src='http://connect.facebook.net/en_US/all.js#xfbml=1'

/>

<div>

<fb:comments

colorscheme='light'

expr:href='data:post.url'

expr:title='data:post.title'

expr:xid='data:post.id'

width='550'

/>

</div>

</div>

</b:if>

Note: You can also customize the widget of the comment box by adjusting 550 the numbers in the below code.

Congratulations: You have successfully learned how to add Facebook Comments in blogger blog. You can also preview your posts to see everything is working in an order or not.

We hope this tutorial has helped you in adding Facebook comments in blogger. Are you using Facebook comments in your blog? If yes, then please take few minutes to tell us about your experience in the comments below.

Hey this is not working.I tried it in my blog gsvipinnair.blogspot.inIm using simple template.just follow all steps.my fb app is gsvipinnairplease help me to get out of the unknown trouble.i deserve this comment box.

Hello, I have a request why not make a video tutorial how I can apply the facebook comment box in my blog, because there are many options to put the blog comment box, but the old version of html and that new is a bit more complicated and can not find code that is required to make application on the blog, if you have something that can help me please get on my facebook page and let a private message https://www.facebook.com/ FilmeBiled Thanks Advance!

I Think you are not pasting the code correctly in you template. Because in blogger template there are two <data:post.body/> tags so you need to paste the code mention in the step#2 below all the <data:post.body/> you found.

So far everything is good! Great! Thanks again for a great tutorial! Had some problems at first (using simple template) but tried a few options you gave me and at the end it worked for the posts... now would like to know if it's possible to put fb comment box on pages too. Thanks in advance!

I tried the code for my company website blogspot, www.expertassignmenthelp.com and it is showing this comment The widget with id "Blog1" cannot contain element: "b:if". A widget can only contain b:includable elements.

I applied your tutorial except that I want it place after the last paragraph of my post and I found a way to do it. But there seems to be a problem. My "Also post on Facebook" is NOT AUTO-CHECKED. Sometimes, it's ALREADY CHECKED and sometimes it is NOT. I also tried to comment in it using another Facebook account. After clicking "Comment", it will then display "This comment has not yet been published to Facebook. Publish comment" How do I make this automatic? I mean no confirmation required.

How to fix "This comment has not yet been published to Facebook. Publish Comment" without clicking "Publish Comment"? What I mean after clicking "Comment", it should automatically be posted in their timelines?

hello. i've tried it an it is working fine, However, i removed it because it's showing "like page icon on every post" in homepage. Can we possibly remove the like page? if so, pls let me know. Thanks! my blog is mahubya.blogspot.com

Post a Comment

We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.

About MyBloggerLab

MyBloggerLab is a free online Blogger resource site. MBL was founded in the early days of 2012 by Syed Faizan Ali. The purpose of creating this site is to provide highly professional tips, top quality Tutorials, Practical SEO tips and methods to earn online.