Life, Interests, Thoughts and Everything

justgurpreet

tweet from command line

If you are a command line bot, find a simpler way to post your tweets to the famous micro-blogging site twitter.com from the console. Two open source command line tools available, provide a way to post directly to twitter : curl and wget.

curl

curl -u uname:pswd -d status="tweet" http://twitter.com/statuses/update.xml

wget

wget --keep-session-cookies --http-user=uname --http-password=pswd \ --post-
data="status=tweet" \ http://twitter.com:80/statuses/update.xml

Also found a video for tweeting using curl on Ubuntu 9.04 …. watch.

And rest finding answers to use shades of twitter, start playing with twitter API .

Filed under: Life

Leave a Reply

Socialize

  Twitter

  Orkut

  Facebook

  Linkedin

  Flickr

Pages

tweets

Blog Stats

  • 8,618 hits