for archiving your twitter stuff, since twitter might go byebye soon
- Clone this repo
pip install -r requirements.txt- You also need aria2 installed
- Go to Twitter Developer Portal and create a project
- Set up User authentication settings
- App permissions:
Read - Type of App:
Confidential client - App info:
- Callback URI / Redirect URL:
https://url-parameters-displayer.netlify.app/(it has to be this or it won't work) - Website URL: Just place any URL, preferably one that you own, but it doesn't matter too much.
- Callback URI / Redirect URL:
- Go to the Keys and tokens tab and you will find the Client ID and Client Secret of your app.
- Create an
.envfile containing these two variables. Paste here the keys from the last step
CLIENT_ID="YOUR_CLIENT_ID_STRING_HERE"
CLIENT_SECRET="YOUR_CLIENT_SECRET_STRING_HERE"
- Done!
Simply run main.py and follow the instructions. You can optionally provide arguments as shown below to run what you want immediately.
usage: main.py [-h] [-i [ENDPOINT] | -d [ENDPOINT]]
optional arguments:
-h, --help show this help message and exit
-i [ENDPOINT], --info [ENDPOINT]
Downloads JSON info from selected endpoint
-d [ENDPOINT], --download [ENDPOINT]
Downloads info from selected endpoint
ENDPOINT can be 'tweets', 'likes', 'bookmarks','following' or numbers 1-4 respectively.