Remove all my tweets with Ruby


Today I decided (in a recent quest to avoid Google for as long as possible) to re-activate my Twitter account. But I wanted to get rid of all previous tweets first, so I decided to put my recently acquired ruby skills to play.

After a little search (on DuckDuckGo, not the Big G) I found the twitter gem and wrote this little script:

You need to register an application and fill in the details in the head of the script to use it.

I tried to obey the rate limiting, but nevertheless Twitter failed on me a lot during the execution of this script. I don’t know if that’s because of my script or if the twitter API is really that wonky, but I kept running the script and slowly I get rid of all my tweets.

For the rubyers amongst you, I used peach to destroy the statuses in parallel. Do you know a better way to do this?

Weitere Artikel

Dark Mode für Firefox und Thunderbird

Video Thumbnails unter Windows erstellen

Eindrücke aus Red Dead Redemption 2

Neuer Bluray Player: PS4

How to hardware reset the new Oura ring

Neuer Monitor: Dell S2716DG

Ein paar Bilder

Endlich da: Mein Oura Ring

Quick changelog with git

Pik Ass in Destiny 2