a monochromatic oeuvre

» Replacing TwitterIM with my own bot.

January 7, 2009

Replacing TwitterIM with my own bot.

TwitterIM:  TwitterIM is under maintenance at the moment. Please check back later.

Twitter’s AIM bot, TwitterIM, has been “under maintenance” for as long as I can remember.  The last time it worked for me was in January 2008, and I have been “checking back later” periodically since.  Personally, I do not have high hopes for it working any time soon.  I decided to just take advantage of Twitter and AIM’s APIs and write my own bot to update my twitter through AIM.

I wrote this in about 10 minutes, so its a really simple program.  Once it connects to the AIM server, it waits for messages from me, ignoring all other messages.  A message from me is immediately posted to Twitter through curl.  In this implementation, there is no check for a successful post, though that would not be particularly difficult to implement.

The source code is available here.  You need Perl, the Net::OSCAR module, and AIM and Twitter accounts, naturally.  Just fill in your credentials at the top of program and run it with Perl.

§

Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

§

Resume - Sandbox - Music

© 2008-10 Marquis Wang