twitterbot to remove/view favorites/tweets and view trending tweets
Project description
Twitter Bot
twitter bot
- delete tweets
- get trending tweets
Install
pip install salahs-twitterbot[scripts]
Twitter API
- create a new twitter application
- save consumer key, consumer secret, access key and access secret as environment variables
cat <<EOF > keys.env
export TWITTER_CONSUMER_KEY='aaaaaaaaaaaaaaaaaaaaaaaaa'
export TWITTER_CONSUMER_SECRET='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
export TWITTER_ACCESS_TOKEN='aaaaaaaaaa-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
export TWITTER_ACCESS_TOKEN_SECRET='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
EOF
source keys.env
delete_old_tweets --help
get_trending_tweets --help
remove_favorites --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file salahs-twitterbot-1.3.1.tar.gz
.
File metadata
- Download URL: salahs-twitterbot-1.3.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fe2e514c6d3a8d3f382698482048d147d755184d1836c5b89447c5bd67df76b |
|
MD5 | a42876f558f57ec894dc933c7ead5e3a |
|
BLAKE2b-256 | dbc64fb38203b1a72c4722bf98df3febb77031951697b0c274fe8d159e8e117c |
File details
Details for the file salahs_twitterbot-1.3.1-py3-none-any.whl
.
File metadata
- Download URL: salahs_twitterbot-1.3.1-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 464feda1ae7e1491b0d2d70b158ebbf0d8ddb3fa6ae00df3d31d7c6baf88b194 |
|
MD5 | b2924b11cd3d25812a9a7e7d8e3bac5c |
|
BLAKE2b-256 | 252452e09216a6bd87062c20365029ea983aba55f56ad9b3358ce3f740638211 |