How to add Official Facebook Share Count button in Blogger?
Remember, a while ago we covered “How to add Tweet This to Blogger templates?“. And if you know, recently, Facebook has also allowed an easy integration of an Official Facebook Share button in any website. This button is their Tweetmeme version of Facebook Share.
If you use Wordpress, you know there are many plug-ins which allows official or unofficial version of Facebook Share count button. Though the people using Blogger are out of luck because Blogger doesn’t support plug-ins. Don’t worry, I have created an easy hack for you to include the OFFICIAL Facebook Share count button in your Blogger blogs.
Here is how to add Official Facebook Share Count Button to Blogger:
- Go to your Blogger Dashboard.
- Then go to Layout -> Edit HTML.
- Check “Expand Widget Template”.
- Search for the following section of code:
<div class=’post-body’> OR <data:post.body/>
- Now add the following code (just copy/paste) right after this line:
<b:if cond=’data:blog.pageType != "item"’>
<div style=’float:left; margin-right:10px;’><a expr:share_url=’data:post.url’ name=’fb_share’ type=’box_count’>Share</a><script src=’http://static.ak.fbcdn.net/connect.php/js/FB.Share’ type=’text/javascript’/></div></b:if> - Do a ‘Preview Template” if you want. And if no error is shown, Save your template.
- That’s it. Visit your blog. You should see a Facebook Share button on the left side of your post.
- When readers click on this button, it will be able to fetch your blog post title and a little description.
- The counter will keep increasing as more and more people share your articles.
- Enjoy…!!!
Now if you want, you can change the location of this button wherever you want with a little CSS modification and the location where the above code is added. Do a trial and error to find the best location for this button yourself.
Let me know if you get any error messages etc. I would love to hear how it works out for you. Drop in comment if you were able to add Facebook Share Count button to your Blogger Template.
If you like this tutorial, then please share this article on Digg, Twitter, Facebook and other social networks as a favor. I will really appreciate your help.



![Validate my RSS feed [Valid RSS]](http://img80.imageshack.us/img80/339/validrssrogers.png)
