How To Add Facebook Share Counter To Your Blogs

Sharing is caring in sweet words. But yes, sharing does bring you good audience & more options of being explored. As you can see, everyone’s using Digg, stumble upon, Twitter (etc) counters for better visibility and traffic. But now, you’ll confront that mostly these blog owners  have added Facebook share buttons as well.

To add them to your blog, all you need to do is add these simple codes to your CSS files. There are two versions, normal and compact. Here are the codes.

Normal:

<div style=’float:left; margin-right:10px;’>
<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>
</div>

Compact:

<div style=’float:left; margin-right:10px;’>
<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>
</div>

And that’s about it.


Tags:

2 Comments

  1. steven welch says:

    This is new to me and am just about making sense of it.
    I also wanted to be the first one to leave a comment.

  2. JamesDX says:

    Anyone know how to do things like this?

Leave a Comment





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

Trackbacks

Leave a Trackback

Author: MoiN

visit my website

Chief Editor of A New Morning, love tech related software, online services and of course gaming. Feel free to visit this blog for daily updates and news.