Home > instant messaging, linux, web 2.0 > update and retrieve twitter timeline from linux shell

update and retrieve twitter timeline from linux shell

you can update your twitter status and follow feeds using linux shell, this is a quick tip for linux lover’s, this is the reason i prefer linux over other operating systems is it’s total usefullnes,

to post your status on twitter type:

curl -s -u username:password -d status="your_status_message goes here" http://twitter.com/statuses/update.xml > /dev/null

replace username, password and message to post with the your own.

to follow feeds from twitter.

curl -s -u username:password http://twitter.com/statuses/friends_timeline.rss | grep title | sed -e 's/]*>//g'

replace username and password with your own. above command will retrieve recent rss entries from your twitter timeline.

one more cool thing you can do with this long command is to enclose it put it in a text file, let’s say “/usr/local/bin/get-twits” and make it exectuable by issuing

chmod a+x /usr/local/bin/get-twits

now open a new terminal windows and type:  watch --interval=60 get-twits

this command will keep your terminal windows updated with recent twitter updates.

enjoy 🙂

Advertisements
  1. January 27, 2009 at 7:56 pm

    Thanks for this post, it is great to see Twitter and Linux in action together. A good combo.

  2. March 1, 2009 at 3:30 pm

    Just passing by.Btw, your website have great content!

    _________________________________
    Making Money $150 An Hour

  3. February 19, 2010 at 8:28 am

    Almvoip.com voip reseller program, calling card, call shop middle east voip reseller with almvoip.com

    Almvoip.com providing voip reseller program, calling card services. At almvoip.com voip reseller can buy and sale Pakistan route, India route, Egypt route, Nepal route, sri lanka route, Bangladesh route, a to z routes almvoip.com is the top ranking voip reseller provider in the middle east and Europe. Almvoip.com reseller program offers pc2phone, device2phone, gk registrar client, mobile dialer, call shop solution with almvoip.com call shop voip reseller program voip reseller get the white label VSR panel (voip reseller panel) and voip reseller can sale their voip reseller services in the whole world as almvoip.com voip reseller program is having no boundaries to sale it’s voip reseller program contact: sales@almvoip.com

  4. February 19, 2010 at 8:29 am

    Almvoip.com:voip Origination and termination with almvoip.com

    Almvoip.com is one of the leading voip service provider, voip termination provider, voip minutes provider. Almvoip.com core routes are Pakistan white route, Pakistan mobile route India white route, BD route, Sri Lanka route, Egypt route, Nepal route, A to Z route of almvoip.com. So don’t delay and contact almvoip.com as your voip service provider and voip termination provider only at almvoip.com contact sales@almvoip.com

  5. November 12, 2011 at 12:01 pm

    code obsolete flat authentication no longer supported have to use oauth

  1. January 24, 2009 at 7:23 pm
  2. January 25, 2009 at 7:23 pm
  3. January 26, 2009 at 9:32 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: