A script to delete tweets before a given date
- You'll need [https://github.com/bear/python-twitter] to interface with the twitter API. Install using PIP or however you like
- You'll need to get a twitter developer account
- rename the settings.py file to twitter_keys.py
- In your twitter developer account, create an app, and grab the API key, API secret key,Access token, Access token secret values from the app details (you might need to generate them first)
- Paste these values into the settings.py file
- Ensure that the cutoff_date value represents the number of days in the past before which you want to delete all tweets. By default you'll keep anything posted in the past 365 days, and nuke anything from before
- Run tweeleter.py to nuke your old tweets