Skip to content


How to prefill the Twitter status box (“What are you doing?”)

I’m working on a website where I need to prefill a certain message in the ‘What are you doing?’ textarea from Twitter.

Here is the solution … redirect the user to :

http://twitter.com/home?status=YOUR_URL_ENCODED_MESSAGE

for example : http://twitter.com/home?status=this%20is%20a%20test

Hope this will help someone :)

Posted in API X tryouts, Misc.


4 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Trevor says

    Works like a charm! Thanks :)

  2. Caramoan says

    Twitter is some ways is much better than blogging. I love to Twitter my everyday activities on my friends and relatives.
    ***

  3. Sherwin says

    Can this be done on facebook?

  4. Chase says

    Thanks a lot.

    I’m actually trying to figure out if you can do something like this on Facebook as well. I want an easy way to let someone send me a message on FB just be clicking on a link that goes to FB with the message destination filled in. I suspect that digging into the FB share API might reveal something, but I haven’t looked into yet.



Some HTML is OK

or, reply to this post via trackback.


Get Adobe Flash playerPlugin by wpburn.com wordpress themes