URL Encode a Twitter Status Message

by Geoff on February 19, 2009

You may have seen Twitter contests where to enter you need to “Click Here to Retweet” a certain message. Here is how it is done!

You can add a custom message to the Twitter URL as a link like so:

http://twitter.com/home?status=Custom%20Message%20Here

When you click it, you will be brought to your Twitter home page (if you are logged on already) and the status box will now say “Custom Message Here”. Obviously you can put in whatever text you wish to be displayed.

What do you do if you want to put spaces, hashtags, slashes and other special characters in your message? You can use an URL Encoder like this to do the work for you.

When you encode the URL, be sure to append it to http://twitter.com/home?status=

Share the love, Tweet this article!!

If you would like to follow me on twitter click here.

Related posts:

  1. Announcing the Twitter Poker Tour
  2. Thanks Twitter Friends!
  3. TweetSuite Errors and Troubleshooting

{ 9 comments… read them below or add one }

Nick August 14, 2009 at 9:18 am

Thanks for the quick walk through. Definitely helped.

Another Nick November 9, 2009 at 6:02 pm

Thanks for the tip! I’d love to see how you can directly submit it.

Keith January 20, 2010 at 4:05 pm

I spent hours trying to figure this out. I knew that I had everything in place.

Just so everyone knows who is doing this, if you have “www.” in your line, then it will keep the %20 when the page opens. I took it out and everything works perfectly.

Thanks for the post.

Andrew June 2, 2010 at 2:02 pm

If you’re not already logged into Twitter when you click on the link, it redirects you to the log-in page, and the tweet is lost. Anyone know if there’s a way to make it so the tweet shows up in your box AFTER you log in?

Groovetrain August 25, 2010 at 11:55 am

@keith

wow. I guess I should have read your comment first before I just spent hours on the same thing!! GAH!! Thanks for posting that comment, and great article, Geoff.

Chad October 19, 2010 at 3:13 pm

For any people still stumbling across this:
For newer twitter accounts, twitter must have the ‘home’ removed from the URL

http://twitter.com/?status=

Seems to be backwards compatible, but God knows where the Twitter folks documented this change…

Geoff October 28, 2010 at 10:55 am

Thanks! I have updated the post to reflect this.

Lindsay December 13, 2010 at 9:26 pm

Here’s another really good url-encoder:
http://quick-encoder.com/url

Brian January 3, 2011 at 5:30 pm

Does anyone know if there is a similar url encoder for Facebook status?

Leave a Comment

Previous post:

Next post: