FaceBook Share Count Button for Blogs
Monday, September 28, 2009 Posted by Yogesh Gautam
Now FaceBook share count button available for your blog. It displays the number of times the current page has been shared on facebook. It is look like a popular Retweet button. It allows visitors to share it themselves on facebook.

- It displays the number of shares (displays Facebook logo when 0 shares)
- Allow to track shares from the button using awe.sm API key or fbshare.me links
- This button is available in Small and Large button size.
- You can add Google Analytics parameters to fbshare.me links
If you have WordPress Blog you can download plugin from here. Facebook Share Count Button Plugin
Steps for adding button at Blogger/Blogspot
Login to Dashboard
Click on Layout -> Click on Edit HTML and check "Expand Widget Templates".
(Backup your template before changing or apply anything in codes.)
Search the following tag in code:
<data:post.body/>Add this code in just above the <data:post.body/>
<div style='float:left; margin-left:10px;'>It will display the button on above of the post if you want to display it at the bottom of the post, paste this code below the <data:post.body/>
<script src="http://widgets.fbshare.me/files/fbshare.js"></script>
</div>
Customization in code
You can set it right in <div style='float:right; margin-left:10px;'> if you want to display it at right side of the post.
size - The size of the button you can set 'large' or 'small' default is 'large' if not specified.
url - Add URL of the page which you want to share on Facebook, it will share current page by default if not specified.
title - The Page Title which you want to share, By default it take the current page's title.
google_analytics - If no awesm_api_key specifed, sets whether fbshare.me links have Google Analytics parameters added: 'true' or 'false' defaults is 'false' if not specified.
An example of a customized code:
<script>var fbShare = {
url: 'http://www.techwebpro.com/',
size: 'small',
google_analytics: 'true'
}</script>
<script src="http://widgets.fbshare.me/files/fbshare.js"></script>
For more information visit fbshare.me



