https://github.com/tombuildsstuff/twitter-dalek
https://github.com/tombuildsstuff/twitter-dalek
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tombuildsstuff/twitter-dalek
- Owner: tombuildsstuff
- License: apache-2.0
- Created: 2019-01-14T18:32:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-29T15:41:38.000Z (over 6 years ago)
- Last Synced: 2025-02-07T14:45:28.861Z (over 1 year ago)
- Language: Go
- Size: 67.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Twitter Dalek
This Dalek goes through and deletes any Tweets older than a week. Twitter's API/Rate Limiting isn't what it used to be - you can obtain up to 3 months of Tweets via the API - but you can obtain the set via a Download Link in your Settings.
The following Environment Variables can be set, which can be obtained through a Twitter Application:
* `TWITTER_CONSUMER_KEY` - The Consumer Key for the Twitter Application
* `TWITTER_CONSUMER_SECRET` - The Consumer Secret for the Twitter Application
* `TWITTER_ACCESS_TOKEN` - The Access Token from the Twitter Application
* `TWITTER_ACCESS_SECRET` - The Access Secret from the Twitter Application
* `TWITTER_USERNAME` - Your Twitter username
* `DAYS_TO_KEEP` - (Optional) The number of days that tweets should be kept. Defaults to `7`.