Skip to main content

twitterbot to remove/view favorites/tweets and view trending tweets

Project description

Build Status

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.

Source Distribution

salahs-twitterbot-1.3.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

salahs_twitterbot-1.3.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file salahs-twitterbot-1.3.0.tar.gz.

File metadata

  • Download URL: salahs-twitterbot-1.3.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2

File hashes

Hashes for salahs-twitterbot-1.3.0.tar.gz
Algorithm Hash digest
SHA256 4f7293ef06561ee0b42b55c82ed01c61e784e31bb5e96f7d99cf9303132df68f
MD5 cb288cce7a2e4ff4688f5c364dda1e40
BLAKE2b-256 a5d84f7f1eedfacf7ca844762a0287052dbe4860629fb7a996f5d06e8dd7310f

See more details on using hashes here.

File details

Details for the file salahs_twitterbot-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: salahs_twitterbot-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2

File hashes

Hashes for salahs_twitterbot-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04998b390e0d797c7d87ae994a92a5f532ee6dca02633922abe85ec17811295b
MD5 f2a08bb25e68d679a082070a029bdb4b
BLAKE2b-256 d4027909bbc158d682f874ce3f12bd94a05cb39d4562fa6d4c1d1827f8cb0aa5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page