Add a "Share On Facebook" Link

Hi Friends
Driving A great Traffic to your posts is to use Social Media sites like Facebook. There is an easy way to place a link at the end of everypost so that users can add it to their facebook profile.

It's very easy, all you have to do is edit your HTML template. Firstmake sure you have the "Expand Widget Templates" tab selected. Then find this piece of code:

 <data:post.body/>


and Below that place this:

 <b:if cond='data:post.url'>
<br/>share on:
<a expr:href='"http://www.facebook.com/
share.php?u=" + data:post.url'>facebook
</a></b:if>


When a user clicks on the link it will add it to their news feed and show up on their facebook profile.

also see
Some great tips to get high rankings in Google and other search engines....


Adsense Top Secrets

Please leave a comment if you like this post or subscribe to this blog via RSS or Email.

18 comments:

  1. Great post fahad brother i loved it and thanks for your help

    ReplyDelete
  2. Thanks! This was just what I was looking for!

    http://iont3ch.blogspot.com

    ReplyDelete
  3. Tu post me ha sido de gran ayuda, Muchas Gracias!

    ReplyDelete
  4. Thanks A lot
    Is there a way to add that complete bar which offers sharing options for many sites.

    ReplyDelete
  5. Thanks A lot.
    Is there a way to add that BAr kind of thing I've been seeing having sharing options for many sites at once.

    ReplyDelete
  6. I've already applied this to my site, in fact I have placed almost every good one in my site: tweets, stumble, digg, buzz etc. lol Check it out.

    ReplyDelete
  7. Yep, this tip is great because it makes it easier to "facebook". lol What's the counterpart of tweet for facebook?

    ReplyDelete
  8. This is the appropriate blog for anybody who wants to find out about this topic. You realize so much its almost laborious to argue with you (not that I actually would want…HaHa). You undoubtedly put a brand new spin on a topic thats been written about for years. Great stuff, simply great!

    ReplyDelete
  9. hi ,

    i tried this but i didnt get facebook share icon onm y blog as you have ... only text is there . please help..

    thanks,

    http://dan-o-maniac.blogspot.com
    http://danish-islam.blogspot.com

    ReplyDelete
  10. hey check this new website www.countcode.com. It's a social network made for programmers, where you can download,share or upload source codes, where you can count your own code lines for free. You have access to the web forum and the web chatroom. we are happy to have you joined to our community!

    ReplyDelete
  11. where does this share link stand in the blog?

    ReplyDelete

Share your ideas with us, we will be very greatful to hear from you