November 2, 2009

Add Facebook Buttons and Widgets To Your Blog



Facebook has already overtaken Yahoo according to the stats from Alexa. So along with search engine optimization, you should also try to bring some traffic from social networking sites like Facebook.

Add these buttons to your blog and help your visitors to share your articles easily on FB.
Instructions to follow:
Log in to Blogger -> Layout -> Edit HTML, and select the tickbox "Edit Widget Templates"
Now find this code in your template:
<div class='post-header-line-1'/>
Now immediately below it, paste the code for the facebook button (select the appropriate one for your blog).

As a link:
Add Facebook link to your blog
Code to paste:
<!--FB-BUTTON-STARTS--><b:if cond='data:blog.pageType == &quot;item&quot;'>
<span style="text-align: right;">
<a name="fb_share" type="icon_link" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
</span></b:if><!--FB-BUTTON-STOPS-->

Button #1
Add Facebook link to your blog
Code to paste:
<!--FB-BUTTON-STARTS--><b:if cond='data:blog.pageType == &quot;item&quot;'><span style="text-align: right;">
<a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
</span></b:if><!--FB-BUTTON-STOPS-->

Button #2
Add Facebook link to your blog
Code to paste:
<!--FB-BUTTON-STARTS--><b:if cond='data:blog.pageType == &quot;item&quot;'><span style="text-align: right;">
<a name="fb_share" type="box_count" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
</span></b:if><!--FB-BUTTON-STOPS-->


Other Facebook Widgets you can display on your blog:
1. Facebook Profile Badge
2. Facebook Photo Badges
3. Live Stream Box (Just like the twitter widget):
Facebook Live Stream Box

4. And visit this page to add a Facebook Fan Box Widget to your blog.

9 comments:

Danoxs said...

Great hack ^^

Now the ones that always comment as Anon can now coment using FB :)

BTW: Of course I'm nominating/voting you in the Ma-something awards =D

Danoxs said...

Sorry for double-posting, but how exactly do I put my comment box ? Tried everything but nothing happens :(

daniel said...

Nice plugin. Will surely try this out.
thanks

bolang said...

Very nice widgets :D

Sai @ Blogger Help said...

@Daniel,
Thanks a lot for the nomination.
According to facebooks tutorial, you have to include a simple code snippet to the html tag and host a cross-domain file. Even I have tried it, but to no avail.
I think we should better wait for an update from them...

Joe said...

Greetings friend,
You made a spelling error in the first paragraph "Feasebook" I think it's suppose to be Facebook. :((

Facebook has already overtaken Yahoo according to the stats from Alexa. So along with search engine optimization, you should also try to bring some traffic from social networking sites like Feacebook.

Divya Sai said...

Thanks Joe

Tomski said...

please help im having troubles adding this to my buttons site which has some neat facebook button ans such and would lve to have this so that the buttons get shared on facebook but cant get it working the site in questions is
buttonshut.com

regards

Anonymous said...

thanks thanks thanks :X

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

comment on this post Share Your Views

Allowed HTML tags: <b>, <i> and <a>

Next Post Homepage Previous Post

Recent Posts

Get this widget

Regular Readers


What They Say...

Tech Savvy Blogger & an overall Great Guy who is always there for his readers & users of the Blogger Platform , offering his limitless knowledge to everyone out there . Divya has created some truly beautiful themes...& if you need advice on any topic , I guarantee you he will definitely have an answer to your problem.
- Mia @DezignDiva
I stumbled onto a great site. Sai, over at Bloggerstop.net has helped me tremendously and with great patience...for any and all questions regarding computer issues. And again, THANK YOU Sai.
- Cheryl @Cmash Loves To Read

Popular Posts

Get this widget

| © 2009 BloggerStop.net | Template by Dicas Blogger | Enhanced By Divya Sai | Privacy Policy