Friday, February 12, 2010

Share your Contents to Facebook with Facebook Share Count Button

Have you seen facebook share count button on Mashable; Did you like facebook share count button; Look at the right side of this post.

Like the Idea, Want to implement on your website. So here we go:

Copy code and paste following code where you want this widget to appear.

<div style='float:right;'>
<script>
var fbShare = {
url: 'Your Current URL', 
size: 'large'
}
</script>
<script src='http://widgets.fbshare.me/files/fbshare.js'></script>
</div>
About Facebook share count button variables
url:
It is an optional variable. By default it picks the current url without parameters.

size:
Optional variable. you can change it to small. If you want your widget to appear smaller.

Have you implemented this cool widget?

Follow Me on Twitter

No comments:

Post a Comment

You might also like:

Related Posts with Thumbnails