Skip to content

one-among-us/TwitterBackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Install python >= 3.7 (Tested on python 3.11)
  2. pip install twb
  3. Register for a Twitter API token
  4. Put your tokens in $HOME/.config/twb/config.toml or ./config.toml.
    You can reference the example config below
  5. 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 = '#############################################'

About

Backup other users' twitter accounts with Twitter API

Resources

License

Stars

Watchers

Forks

Packages

No packages published