Get Twitter timeline from the CLI

We already know how to update Twitter from the command line. To get your and your friends' timeline from the CLI, use the following one-liner:

curl -u username --silent "https://twitter.com/statuses/friends_timeline.rss" | perl -ne 'print "$2\n" if /< (description)>(.*)< \/\1>/;'

Using the same method, you can also get unread Gmail inbox messages (via commandlinefu.com).

Comments

Popular posts from this blog

Pull files off Android phone