Saturday, January 29, 2011

Facebook Share Button To Blogger

This button also similar to Reweet button.you can see the
count also,how many times shared your post.
I have 2 button style(full and compact). You can choose 1
 and copy the code.

Full






<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"/>
</div>

Compact



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


1. Log to your blogger and navigate to Layout > Edit HTML.Make sure checked  
    “Expand  widget templates”
2. Find this code by using Ctrl+F     <div class='post-header-line-1'/>

3.After that copy above code,what you choose and paste it.

4.Save template. now you are done.

0 comments:

Post a Comment