Showing posts with label Facebook share button. Show all posts
Showing posts with label Facebook share button. Show all posts

Adding Facebook Share Button on Your Blogger Blog

Facebook has now officially introduced the Retweet like facebook buttons for your blogs or sites. Adding a Facebook share count button will show a neat count of how many times your blog post has been shared on Facebook.

Code for Facebook Share count button:

<div style="float:right;padding:4px;">
<a expr:share_url='data:post.url' name='fb_share' rel='nofollow' type='box_count'/>  
<script type="text/javascript" src="http://static.ak.fbcdn.net/connect.php/js/FB.Share"/>
*lt;/div>

How to install Facebook Share Count Button on your Blogger Blog?

  • Login to your Blogger Dashboard and navigate to Layout > Edit Html and check the check box which says “Expand  widget templates”.
  • Find this piece of code
    <div class='post-header-line-1'/>
    • and immediately after that place our Facebook share button code (that you copied)
    • If you were unable to find this code in your template,then look for the first occurrence of
    <data:post.body/>
    • and immediately before that paste our Facebook Share button code(that you copied).
    • Save the template and you should get a facebook share count button near each of your blog posts.
    (Thanks to Blogger SEO for this Post)