Official Facebook Share Count Button for your WordPress
Not too long ago we shared how you can add a live facebook share button in your WordPress site using a third party script. Well Facebook has decided to release the official version of the fshare count button, so why rely on the third party script anymore?
To add the Official Facebook Share button simply open up a theme file of your choice and add the following code:
<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>
The code above will add a big tweetmeme like button that will display count in more like a box form. If you want to display a compact version then simply use the code below:
<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>
Feel free to wrap the codes around with any styling that you like. For further documentation and options visit the Official Facebook page.
Comments
3 Responses to “Official Facebook Share Count Button for your WordPress”Share Your Opinions
Tell us what you're thinking...
and if you want a pic to show with your comment, then get gravatar!
Please make sure that you have read our Comment Policy.










Great tool!
This is not working as advertised. The button shows up but it doesn’t not display share counts after refreshing the page.
It has been working on many sites, do not know what the issue could be with yours. We are planning on including it in our next update as well.