Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Building a Twitter Agent with Ruby and Rails

By Peter Cooper / February 17, 2008


Dominiek ter Heide has put together a great tutorial that walks you through building a "Twitter agent" using Ruby, Rails and XMPP. For those who aren't on Twitter yet, it's a free micro-blogging cum "presence" information service that allows users to write 140 character messages that are supposed to represent their current state / feelings / location / etc. A Twitter agent, therefore, is essentially an automated Twitter user that can deliver information to other Twitter users.

The tutorial is quite in-depth with lots of code examples and helpful diagrams. Dominiek explains it all very directly, and even has the developed service running for real, so you know you're seeing something that actually works.


  1. Justin says:

    Twitter: A Free Micro-Blogging Cum Presence Information Service, hahahaha...

  2. Peter Cooper says:

    Before you dirty minded folks read too much into the word "cum," read its primary definition! :)

  3. Grant says:

    This has to be the first app I've seen that has successfully utilized backgroundrb.

Other Posts to Enjoy

Twitter Mentions