fake

Mobile no.

Msg:

Monday

How To Add Facebook comment box widget

Posted by Unknown


Another tops comment widget for blogger is facebook comment widget,facebook is a very imprtant website and one of the top social media sharing website in the world and almost every blogger has an account on facebook and also uses for website promotion.so you can use facebook comment widget in your website then the default blogger comment widget.

Go to Blogger Dashboard.
Go to Edit html
Hit ctrl+f.
and search <body> tag.
Just after the <body> tag paste the below code.
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>


Now save template.
Go to layout.
Add a gadget
Choose html/javascript.
Now Paste the below code.
And save.you are done.

<div class="fb-comments" data-href="http://tamilnaduhacker.blogspot.com" data-width="470" data-num-posts="10"></div>


Customization

Insert your own URL in the place of  http://tamilnaduhacker.blogspot.com . ( Change your URL )
Change width from 470 to your width.
How many comments you want to show ,change it from 10 to your number.

2 comments:

Admin Karthik