Posted on 28 June, 2010 By 40 Comments

How to Create Your Own Facebook Share URL

 

Last Winter I wrote an article on how to add a share button to your Facebook fan page.

I have since learned that you can make any image or link a share button and this same code can be used on a Facebook fan page and your website.

And once again, when you know the code, it is super easy to implement.

The code looks like the following:

http://www.facebook.com/sharer.php?u=<url to share>
&t=<title of content>link or image</a>
  1. url to share – the site that you want to share to Facebook
  2. title of content – the name of what you are sharing

If I wanted to share my Facebook fan page with a custom image, I would use the following code.

<a href="http://www.facebook.com/sharer.php?u=http://facebook.com/
Anti.Social.Development&t=(Anti) Social Development" target="_blank">
<img src="http://www.kimwoodbridge.com/asdface.jpg" /></a>

And it would look like this.


If you click on the image, a new window will open where you can share my Facebook fan page.

This is a great alternative to the default Facebook share button. The important thing, however, is to make sure that the image or link text makes it clear that by clicking on it you will be sharing something on Facebook.

photo credit: Wondermonkey2k

Related posts:

Posted In : Facebook

Did you enjoy this article? I can assist you with your WordPress or Facebook project. Contact me and I will provide you with an estimate. You can also connect with me on Facebook or follow me on Twitter.




Outright.com - Free Yourself from Accounting

40 Responses to “How to Create Your Own Facebook Share URL”

Trackbacks/Pingbacks
  1. Facebook Facts You Probably Didn’t Know | Tech the Plunge
Leave a Comment
You may use: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

CommentLuv badge

About

Kim Woodbridge is an accomplished Information and Technical Consultant specializing in the entire implementation of a WordPress based website including installation, theme design, upgrades, unique customizations and ongoing site maintenance.

Recent Comments

    • harm: You no longer can "Add to My Page" This used to be simple, using the facebook UI. Unfortunately facebook removed thi...
    • Phil Derksen: I was referencing plugin #1 in the list btw. :)...
    • Phil Derksen: Thanks for mentioning my Pin It button plugin. I'd love to hear what people think of it and what they'd like to see adde...
    • Jim: I started playing around with Pinterest about a week ago and while I can see why people say it's a social network for wo...
    • Jim: I learned this the hard way a few years ago when my laptop died. Nowadays I back up everything regularly to an external ...

Wordpress Services

  • Installation, upgrades and maintenance
  • Conversion of existing html and css templates
  • Theme and plugin recommendations
  • CSS customizations
  • Troubleshooting and tweaks for unique situations
  • Customization for individual blogging goals and needs
  • Training and advice