Social networking sites like facebook makes a real important part on the world of blogging. This social networking sites helps you a lot to get traffic on your blog if you do take some special care to them.This are really a gift of internet for bloggers like us to drive traffic towards our blog.Using facebook comment system on your blog makes our blog more interactive and drives more traffic as commenting on your blog.This also helps your blog reader to share the topic on their facebook wall easily.
so,here we're going to share the details tutorial about how to make this possible.This tutorial will completely explains you how to add facebook comment box to your blogspot blog easily.
Create a Facebook App-Id
- First uou need a Facebook App Id. So for that you have to go there Facebook Developers Page to make one.
- Next Click on the "+ Create New App"and a window will pop out, there you've to enter your blog Name and click on "Continue" as shown in the screenshot below:
- You'll get a new app id just like the below screenshot, so note down your APP ID and keep it some safe place.You have to need that in next steps.
Add Code on Blogger Template
- Log onto your Blogger Dashboard >> Templates >> Edit HTML and Expand Widget Templates checkbox.
- Search(CTRL + F) for <html tag and replace it with the below code
<html xmlns:fb='http://www.facebook.com/2008/fbml'
- Then search(ctrl+f) for on you template
<body expr:class='"loading" + data:blog.mobileClass'>
Now add the below code after it.
<div id='fb-root'/><script>window.fbAsyncInit = function() {FB.init({appId : 'YOUR_APP_ID',status : true, // check login statuscookie : true, // enable cookies to allow the server to access the sessionxfbml : true // parse XFBML});};(function() {var e = document.createElement('script');e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';e.async = true;document.getElementById('fb-root').appendChild(e);}());</script>
- Replace YOUR_APP_ID with the App ID you've noted down on Step 1
- Search for </head> code and add the code below above the </head>
<meta expr:content='data:blog.pageTitle' property='og:title'/>
<meta expr:content='data:blog.url' property='og:url'/><meta content='JackMoffat' property='og:site_name'/><meta content='YOUR_BLOG_LOGO_IMAGE_LINK' property='og:image'/><meta content='YOUR_APP_ID' property='fb:app_id'/><meta content='http://www.facebook.com/JackMoffat' property='fb:admins'/><meta content='article' property='og:type'/>
Now Make the Following Changes on the Code above:
Replace JackMoffat with your blog name.
Replace YOUR_BLOG_LOGO_IMAGE_LINK with your blog logo image url.
Replace YOUR_APP_ID with your app id.
Replace http://www.facebook.com/JackMoffat with your Facebook page url.
- Next you have to search for the any of these following codes
<p class='post-footer-line post-footer-line-3'>
<div class='post-footer-line post-footer-line-3'>
<data:post.body/>
<b:if cond='data:blog.pageType == "item"'>
<div style='padding:0px 0px 0px 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='520'/></div>
<div style='color:#fff; background-color:#3B5998;border: solid 1px #ddd; font-size:10px; padding:3px;'>Facebook Blogger Plugin by <b><a alt='blogger templates' href=' http://techtrickhome.blogspot.com/ ' style='text-decoration:underline; color:#fff;' target='_blank' title='blogger templates'> http://techtrickhome.com/ </a></b> | <b><a alt='Facebook-Comment-Box-widgets' href=' http://techtrickhome.com/2012/09/facebook-comment-box-for-blogger.html ' style='text-decoration:underline; color:#fff;' target='_blank' title='Blogger Widgets'>Get Widget</a></b></div></div>
</b:if>
- If you wish to use the dark scheme then just replace light with dark
- If you want change the Comments box size then change this value width='520'


