TwitterBackup
A tool to back up other users' Twitter accounts using the Twitter API. (Currently limited to the last 3200 tweets).
Video.Demo.mp4
Usage
- Install python
>= 3.7
(Tested on python 3.11) pip install twb
- Register for a Twitter API token
- Put your tokens in
$HOME/.config/twb/config.toml
or./config.toml
.
You can reference the example config below - Run command
twb <username>
, and it will download to./backups
Example Config
# The consumer key from the Twitter application portal (https://developer.twitter.com/en/portal/dashboard)
consumer_key = '#########################'
# The consumer secret from the Twitter application portal
consumer_secret = '##################################################'
# The access token of an app from the Twitter application portal
access_token = '##################################################'
# The access secret of an app from the Twitter application portal
access_secret = '#############################################'