Bulk delete Twitter posts with Ruby
October 14th, 2008
Over the weekend I managed to flood a Twitter account I'm working on with useless garbage. Over 4700 pieces of useless garbage in fact. Now what would be really, really nice is the ability to send HTTP DELETE /user_timeline to Twitter. But (can you believe it?) their API doesn't have a bulk delete feature, and rate-limiting means you can only perform 100 requests an hour. So today I botched together the following script, which uses a bit of Hpricot and curl magic to (slowly) obliterate a timeline.
Read the rest of this entry