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
Close
Hashes for salahs_twitterbot-1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 464feda1ae7e1491b0d2d70b158ebbf0d8ddb3fa6ae00df3d31d7c6baf88b194 |
|
MD5 | b2924b11cd3d25812a9a7e7d8e3bac5c |
|
BLAKE2b-256 | 252452e09216a6bd87062c20365029ea983aba55f56ad9b3358ce3f740638211 |