2009-01-08

[Twitter] Update your status using 'wget'

Hi, this is takano32.

Here is an interesting article in Japanese.
Linux のコマンドラインから Twitter と FriendFeed の更新を行う」 in English, "Update your status in Twitter and FriendFeed with Linux command line".

Now, let's try update your Twitter status.


wget --keep-session-cookies --http-user=dankogai --http-password=kogaidan \
--post-data="status=Hello, EGG!" \
http://twitter.com:80/statuses/update.xml


Owesome! Such a little typing can make your status update!!

The conetnt of this network trafic is similar to of How to use Twitter-scraping#2.
If read twitterscraping.py, a network trafic by above command will be a good reference.

Thank you.

No comments: