Archive for the ‘twitter’ Category

Get Twitter on Google Talk!

September 6, 2009

When Twitter had integration with IM, the IM was the only way I used Twitter.  First, the IM  (I use Google Talk) is always running on my computer. And then, logging on to Twitter to post a message and check statuses is such a pain.

I have been itching to get Twitter on my IM and was  porting my twitter friends statuses into  Friendfeed and pushing them to the IM as a workaround.

But since Google App Engine has now brought XMPP to its platform, writing a custom Twitter port on IM couldn’t be easier. is my application written on Python which brings Twitter to your Google Talk IM.

I used OAuth for the app to get access to Twitter and then a cron job to routinely check messages every hour and post to Twitter. Right now, you can post messages by typing into the chat window directly and fetch records manually by just typing in ‘fetch’.

Getting OAuth working from App Engine was a breeze thanks to these examples given here: Especially,


Get scores of Indian cricket matches on twitter

March 29, 2008

I wrote a script to fetch the scores from CricInfo‘s Live RSS feed and post messages to Twitter everytime the score changes.

You can get scores by following indiablues on Twitter.

The code is available here .

UPDATE: Inspired by baggygreen and meninblue, I wrote another script to scrape the comments of off CricInfo’s famous ball-by-ball commentary using BeautifulSoup and post it to Twitter using their API. The only difference is that, I post only the comments mentioning boundaries or Sixes or Outs. Getting all commentary is boring. Anyways, the code is available here.

Twittering away

January 18, 2008

I failed to see the light in the beginning. Twitter which was basically introduced as a micro-blogging idea on the question of ‘What are you doing now?’ seemed pretty lame and not-very-useful to me.

But over time people have come up with finding the right applications of Twitter.

1. Twitter as a broadcast service. For emergency updates like California fires etc. Twitter is probably the fastest medium of information exchange.

2. Live News, stock quotes, sports scores. has been my way to know the latest scores the recent India v/s Australia test series

3. Apps like Buxfer, Remember the milk etc are using Twitter’s direct message functionality for simulating a command line interface to access the apps.

4. This blog details out how famous blogger Robert Scoble used Twitter to bring a press conference right in front of his audience. Journalism taken to a whole new level.

5. Ask for help. Have a problem with your PC or any app? Twitter away to get instant help.


1. I wish I could group people using tags/labels and send messages to a specific group say family, friends, etc..

2. Google should be on twitter too. I would then be able to query latest stock quotes/scores. But I guess they won’t do this since you can’t show Ads on a 140 char limit tweet 🙂