FaceBook Share Count Button for Blogs

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.
FaceBook Share Count Button for Blogs

Main Attraction:

  1. It displays the number of shares (displays Facebook logo when 0 shares)
  2. Allow to track shares from the button using awe.sm API key or fbshare.me links
  3. This button is available in Small and Large button size.
  4. You can add Google Analytics parameters to fbshare.me links

How to add in blogs:
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;’>
<script src=”http://widgets.fbshare.me/files/fbshare.js”></script>
</div>

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/>

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


This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

4 Comments Post a Comment
  1. Duncan33 says:

    thats cool! I knew how to put a facebook add as a friend button but this is new for me. Thnx for the know-how

  2. Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!

  3. I?m diggin? this site. I visit it frequently. I like the changes.

Leave a Reply




Comment moderation is enabled. Your comment may take some time to appear.

Join TechWebPro


TechWebPro on Facebook