X

How to add Facebook Share Count Box in Website?

You must have seen Facebook count box in many site which allow user to share content of page and also shows count of people who has already shared this content.

This feature looks good in site and it attract users to share content of web page.

You can also have this “Facebook Share” count box in your website by following as below.

Currently, Facebook Share Count box comes in two version.

1) NormalVersion

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

2) Compact Version

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

You can use <div style=”float:right”> or <div style=”float:left”> around above code to make button to float right or left respectively according to your requirement in your website.

Note: Facebook will not show count till it will not be shared to minimum 3 times.

This post was last modified on March 4, 2011 3:58 am

Tags: Facebook
Chetan Patel: Chetan Patel is blogger, writes on Tech News, current trends, Gadgets Reviews, Website owner guide and Tips. You can connect him at <a href="https://plus.google.com/118385579556796801405?rel=author">Google+</a> & <a href="https://www.facebook.com/patecj">Facebook</a>.