TwitterDelete is a small application to delete your old, unpopular tweets.
- Delete, unfavorite and unretweet tweets
- Keep tweets based on age, retweet or favourite count
- Delete tweets no longer exposed by Twitter API from a downloaded Twitter archive file
To setup locally run:
git clone https://github.com/mikemcquaid/TwitterDelete
cd TwitterDelete
bundle install
Get the Twitter API variables from https://apps.twitter.com and add the following variables to a .env
file in the TwitterDelete
folder:
TWITTER_CONSUMER_KEY=...
TWITTER_CONSUMER_SECRET=...
TWITTER_ACCESS_TOKEN=...
TWITTER_ACCESS_TOKEN_SECRET=...
Now run TwitterDelete:
./twitter_delete.rb --user TwitterUsername
Works for deleting relevant tweets. I've deleted all my tweets and don't really use Twitter any more so am not actively working on this but will accept pull requests.
TwitterDelete is licensed under the AGPLv3 License. The full license text is available in LICENSE.txt.