Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sphilora authored May 17, 2019
1 parent d8cbd4a commit 7ad71e5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
# tweeleter
A script to delete tweets before a given date


## Getting started
1. You'll need [https://github.com/bear/python-twitter] to interface with the twitter API. Install using PIP or however you like
2. You'll need to get a twitter developer account
3. rename the settings.py file to twitter_keys.py
4. 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)
5. Paste these values into the settings.py file
6. 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
7. Run tweeleter.py to nuke your old tweets

0 comments on commit 7ad71e5

Please sign in to comment.