Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for salahs-twitterbot, version 1.3.1
Filename, size File type Python version Upload date Hashes
Filename, size salahs_twitterbot-1.3.1-py3-none-any.whl (6.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size salahs-twitterbot-1.3.1.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page