Tuesday, July 3, 2012
Facebook comment box is one of the useful tool for bloggers to increase conversations. Recently Facebook has launched many social plugins for bloggers and web developers and one such is improved Facebook comment box. So here in this post I will teach you how to add/integrate Facebook comment box to blogger in simple steps. Before getting into the process I recommend you to back up your template and previous comments in blogger wont be visible if you use Facebook commenting system.
Step 1: Visit Facebook developer page and enter your blog name, URL and click on Create application.
Now copy the App ID and save it in a notepad
<b:if cond='data:blog.pageType == "item"'>
<p align='left'><img alt='' class='icon-action' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqCtjMDQYCSOM-2EDYyZTL4pojfrlzuVWZ2wWdiGmKR6GnU2Sgky0jba5-UWrDuTvW_-5Hg7VGSEnHNO5U__UDRLb25TFqja6dMR1z22CwQk_gKYcHuzBcKDCOYh_gSf2YTobFNip9AMW-/s1600/cmds.png'/></p>
<div id='fb-root'/>
<script>var e = document.createElement('script'); e.async = true;
window.fbAsyncInit = function() {
FB.init({appId: 'APPID', status: true, cookie: true,
xfbml: true});
};
(function() {
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>
<fb:comments/>
</b:if>
Change the APPID on the code with your APP ID provided from Facebook and save the template.
Step 3: Now you need to hide default blogger commenting system. So navigate to Settings > Comments and select hide and save settings.
Live Demo
Note: Using Facebook Comments will hide your blogger comments. So use this comment box wisely.
May 22, 2010. This entry was posted in Blogger, Facebook, Tutorials and tagged Faceb
Tuesday, July 3, 2012 by Jayadeep KM · 0
Wednesday, June 27, 2012
Subscribe to:
Posts (Atom)