It certainly shouldn’t be difficult, but I always have a tough time with OAuth. Twitter is dropping support for basic authentication on June 30th, 2010. I have some automated Twitter bots that need an upgrade, so I’ve been working on a quick solution to generate tokens for my scripts. I formulated a pretty simple script using John Nunemaker’s twitter gem that will get it done manually for any scripts you have that read from or update Twitter: