Few days back you read about Add “Share on facebook†button to your blog/website with which you can install a Facebook ‘Share’ button in your blog or website. That was a good way of using ‘Share’ button with an option of four different buttons/links.

But today I am writing about how to install a Facebook ‘Share Count Button’ in your blogger or wordpress blog which is just similar to ‘Share’ button with an inbuilt counter too which counts the number of time that particular post is shared on Facebook.

This button is just similar to Tweetmeme button for Twitter, but when any particular post isn’t shared at all on Facebook, it shows a Facebook logo rather than a zero.

Blogger Installation:

  • Go to Dashboard>>Layout>>Edit HTML, check ‘Expand Widget Templates’
  • Now find the code

<data:post.body/>
(use the default one if you are using page navigation hack)

  • Copy the code given below:

<div style=’float:right; margin-left:10px;’>
<script>var fbShare = {
size: ‘large’,
google_analytics: ‘true’
}</script>
<script src=”http://widgets.fbshare.me/files/fbshare.js”></script>
</div>

  • Now paste the above code after <data:post.body/> if you want to show the button after the body of the post, else use it before <data:post.body/>
  • Save the template and see the changes in your blog.

fb count Install Facebook Share Count Button in your blogger/wordpress blogs [How to]

Customization:

  • You can use the size ‘small’ in place of ‘large’ in the above code.
  • You may edit float or margin in the above code.

WordPress installation:

To use this button on your wordpress blog just download the WordPress plugin for Facebook ‘Share Count Button’ here(by fbshare.me).

SOURCE: fbshare