A simple flask container based Tweepy frontend designed to download and name photos from tweets.
Enabled by the hard work of the Tweepy developers.
- Write secrets file (see below)
- (optional) setup a venv
python -v venv venv
source venv/bin/activate
- install libs:
pip install -r requirments.txt
- run:
flask run
- Point your browser at the host URL.
The twit_img_secrets.py
file takes the following form.
See Twitter's Developer Apps page for registering for a key/secret pair.
See Flask's Sessions Page for generating a random junk secret key.
#!/usr/bin/env python3
consumer_key = '<your twitter API key>'
consumer_secret = '<your twitter API secret>'
flask_secret = b'<your random flask API secret key>'
MIT. See LICENSE