Add share on Facebook Link and buttons on your blog

Add Share on Facebook Link or button on your blog to make it easier for the content to be shared on Facebook.Copy and Paste the following block of codes into your blog.

Share on Facebook
<script>function fbs_click() {u=location.href;t=document.title;window.open(‘http://www.facebook.com/sharer.php?u=’ encodeURIComponent(u) ‘&t=’ encodeURIComponent(t),’sharer’,'toolbar=0,status=0,width=626,height=436′);return false;}</script><a href=”http://www.facebook.com/share.php?u=<url>” onclick=”return fbs_click()” target=”_blank”>Share on Facebook</a>


Share on Facebook



<script>function fbs_click() {u=location.href;t=document.title;window.open(‘http://www.facebook.com/sharer.php?u=’ encodeURIComponent(u) ‘&t=’ encodeURIComponent(t),’sharer’,'toolbar=0,status=0,width=626,height=436′);return false;}</script><style> html .fb_share_link { padding:2px 0 0 20px; height:16px; background:url(http://static.ak.fbcdn.net/images/share/facebook_share_icon.gif?0:26981) no-repeat top left; }</style><a href=”http://www.facebook.com/share.php?u=<url>” onclick=”return fbs_click()” target=”_blank” class=”fb_share_link”>Share on Facebook</a>

Share
<script>function fbs_click() {u=location.href;t=document.title;window.open(‘http://www.facebook.com/sharer.php?u=’ encodeURIComponent(u) ‘&t=’ encodeURIComponent(t),’sharer’,'toolbar=0,status=0,width=626,height=436′);return false;}</script><style> html .fb_share_button { display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url(http://static.ak.fbcdn.net/images/share/facebook_share_icon.gif?0:26981) no-repeat top right; } html .fb_share_button:hover { color:#fff; border-color:#295582; background:#3b5998 url(http://static.ak.fbcdn.net/images/share/facebook_share_icon.gif?0:26981) no-repeat top right; text-decoration:none; } </style> <a href=”http://www.facebook.com/share.php?u=<url>” class=”fb_share_button” onclick=”return fbs_click()” target=”_blank” style=”text-decoration:none;”>Share</a>

Category: Uncategorized

Written by: ikogsakanding [ 1504 Posts ] (Author Profile)
blogs about latest trends, the internet, the tech news and the local blogosphere. You can follow me via Twitter and Facebook .
Posted on: Tuesday, March 24th, 2009 at 8:52 pm with 3 Comments.

Comments (3)

Trackback URL | Comments RSS Feed

  1. Thanks for the great read. I very appreciated it! I don't generally comment on weblogs but that one really was interesting. I will save for later on.

  2. MobileSpoon says:

    Hey, do you know how to add the samekind of button that will look similar to the "tweet this" button?

    http://mobilespoon.blogspot.com

  3. Fahad says:

    Hi nice post
    To know how to add "Share On Facebook" Link to blogger….
    http://about-new-blogger.blogspot.com/2009/06/add
    http://about-new-blogger.blogspot.com/

Leave a Reply