Did that headline make any sense at all? I don’t think it did. Please keep reading so you know what I’m talking about!

So I was reading an ebook yesterday and saw one page with two graphical buttons on it. One said “Click here to retweet this” and the other said “Click here to share on Facebook.” When I clicked on the retweet button in the ebook, this tweet was already filled out and ready to go in my tweet box:


How’d it do that?! It was something I’d been wondering about for a while and I never knew what to search for. But now I know! Read on!

Guess what! It’s pretty simple. Maybe the rest of the world knows how to do this and I never figured it out, but anyway, here’s how to do it for both Twitter and Facebook. If you don’t want to know the nuts and bolts and just want to know why you’d want to use this, scroll down to the “When would you use this?” section below.


Here’s the URL that the “Retweet this ebook” image was linked to, that when clicked on filled out the tweet box like the above screenshot:


So you can see here that it’s pretty simple (sorry it’s on two lines; it’s too long to be on one). There are just a couple things to note:

  • Wherever you’d normally have a space, you need a “+”
  • To create a hash tag (#), the syntax is “%23”
  • The first part (http://twitter.com/home?status=) is the essential part that has to be there. You can change everything else.

So if I wanted to have a “Share this ebook with your friends on Twitter” link in my Blogger’s Block ebook (which I do, and which I will implement soon), the URL of it would be this:


And when clicked on, it would fill in your tweet box like this:


Want to give it a try?


The Facebook one was pretty similar. Here’s a screenshot of the page that the link took me to (you have to sign in to Facebook first if you haven’t already):

And here’s the URL of the link in the ebook that took me to that Facebook page:


As you can see, the syntax is even easier than the Twitter one. There’s just one thing to keep in mind:

  • The first part (http://www.facebook.com/sharer.php?u=) is the only essential part that has to be there. Just insert your URL after the “=”

Shall we test it?


When would you use this?

“So… Um… Like, when would I need to use this?” Great question. Here are a couple quick thoughts:

  • As stated above, use this when you create a PDF ebook and you want to include a retweet/share link from inside the ebook.
  • Use this if you want to create your own custom Facebook “Like” button to put on your blog, or if you want to have a “Tweet about this blog” button.
  • Uh… Those are actually the only two I can think of right now. But those are two pretty useful things, right? Got any other suggestions?

Do you have any questions or comments? Leave them below! (Remember, this blog is totally tricked out and now rocks CommentLuv AND KeywordLuv.)