How To Add Facebook Comment Box To Blogger
Minggu, 14 November 2010
0
komentar
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/AVvXsEhPa6mawqZMMfCOP-KHuqbC90KCQAjSpttmjxdfiY7pbWl4Mjc3K4GJYF6NpHuYq8p7Juit6CvDppxnP3oM7Cat32T4ie0Jrk5uBs3kX5JTRYQhVrlp92jKGObCYbaStfbrqFHnyhQC4odB/s1600/cmds.png'/></p>
<div id='fb-root'/>
<script>
window.fbAsyncInit = function() {
FB.init({appId: 'APPID', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script'); e.async = true;
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.
Note: Using Facebook Comments will hide your blogger comments. So use this comment box wisely.
0 komentar:
Posting Komentar