TwitterBackup
A tool to back up other users' Twitter accounts using the Twitter API. (Currently limited to the last 3200 tweets).
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.tomlor./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 = '#############################################'
Metadata
Release files for twb 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| twb-1.0.2.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| twb-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / twb-1.0.2.tar.gz
| Download URL | twb-1.0.2.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1c7ef5d7efe80638cd04284d7b9f1be1050ef554461affe6d0494dc14a0f305
|
|
BLAKE2b-256 checksum How to use checksums |
0712fc9ac2c8b69906b1c3f88144da2bcb68d3ab9669bcbfa403bc572dc29ef1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.12
|
Release files / twb-1.0.2-py3-none-any.whl
| Download URL | twb-1.0.2-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86ed7e8588ae92e3bac53407e396b076e0e370e72b12c5596a8fc2569c9c9930
|
|
BLAKE2b-256 checksum How to use checksums |
c51915c809db4288b4d22b0ee4bd8b8b46c6272baefef75c1f7bd3f04763883c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.12
|