Thursday, April 19, 2012

How To Add Facebook Comment Box To Blogger

Facebook is a great social networking site it's alexa ranking is 2. That means tons of people over world use and love Facebook. Why not installing a Facebook comment box in your website. It also looks great. Facebook comment box was introduced at 2009, one of the best plugin created by Facebook. Readers from search engines usually do not make comment. They come for their needs and leave when needs end after they had solved their issues reading your articles. It is so easy to leave a comment by Facebook, Yahoo, Aol and Hotmail. Readers can easily leave a comment

How To Add Facebook Comment Box To Blogger

Go to the Facebook Developer Page and create an application. just take a look of the following image that how to create a Facebook application

Facebook Comment bOx

How To Add Facebook Comment Box To Blogger

After creating Facebook Application now log in Blogger Account

Go to Blogger Account → Dashboard → Design → Edit HTML

Backup your template for safety. Now tick on "Expand Widget Templates"

Find the follwing code using F3


Now replace this code with following code

<html xmlns:fb='' 

Now find the following code


Now Paste the following code just before it

<div id='fb-root'/>
window.fbAsyncInit = function() {
appId : &#39;YOUR_APP_ID&#39;,
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
(function() {
var e = document.createElement(&#39;script&#39;);
e.src = document.location.protocol + &#39;//;;
e.async = true;

Replace your Facebook APP Id

Now search for the following code


Now place the following code just bedore if

<meta expr:content='data:blog.pageTitle' property='og:title'/>
<meta expr:content='data:blog.url' property='og:url'/>
<meta content='Edutechnology.Net' property='og:site_name'/>
<meta content='Blog Logo Image Link' property='og:image'/>
<meta content='Your App ID' property='fb:app_id'/>
<meta content='' property='fb:admins'/>
<meta content='article' property='og:type'/>

Change the multi colored text

Now find the follwoing code

<b:includable id='comment-form' var='post'>

And Paste the followinfg code Just after the code mentioned above

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div style='padding:0px 0px 0px 0px; margin:0px 0px 0px 0px;'><script src=''/>
<div> <fb:comments colorscheme='light' expr:href='data:post.url' expr:title='data:post.title' expr:xid='' width='520'/></div>
<div style='color:#fff; background-color:#3B5998;border: solid 1px #ddd; font-size:10px; padding:3px; width:510px;'><a alt='Facebook Blogger Comment Box' href='' style='text-decoration:underline; color:#fff;' target='_blank' title='Facebook Blogger Comment Box'>Facebook Comments Box for Blogger</a> Plugin by <b><a alt='blogger tips' href='' style='text-decoration:underline; color:#fff;' target='_blank' title='blogger tips'>Edutechnology.Net</a></b></div></div>

At the last save your template and done. You will see a nice Facebook comment box on blogpost

Please like our Facebook Page or Follow us on Twitter or Subscribe

Please comment here if you get any trouble . If you like this article please take 10 second to share with your friends


Click Here To add Comment