Commandline Twitter

Got this idea about seeing if I can make a command line app for Twitter. I just don't want the full fledged thing, just the basic latest updates. Since I am also interested in learning python ( call it a geek itch), I decided to take it as a sample app for my foray.

It took me about 1 hour from setting out to finding the library to use and to write the code, and put in some text beautification. Nothing fancy, but does the job.

for those interested the code is as follows :

import twitter
api = twitter.Api(username='username', password ='password')
statuses = api.GetFriendsTimeline()
for s in statuses:
print "%s \t: %s" % ( , s.text)


  1. simple and neat language from what i see in the code snippet. u were mentioning that u wanted to create a website using python / php. is the idea still on. i want to write some code in my free time as well. let me know what i can do, write code, etc.

  2. Its simple as a lot of libraries are being written for it.

    sent you a mail on your gmail with an idea I am working on. Not the elaborate website stuff, but something to get me started on how the stuff is done.