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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04998b390e0d797c7d87ae994a92a5f532ee6dca02633922abe85ec17811295b |
|
MD5 | f2a08bb25e68d679a082070a029bdb4b |
|
BLAKE2b-256 | d4027909bbc158d682f874ce3f12bd94a05cb39d4562fa6d4c1d1827f8cb0aa5 |