Coredump
Work, play, and everything in-between [feed]

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).

Read more:


No Comments Yet


Be the first to comment!

Leave a comment


« »