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.2.3.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: salahs-twitterbot-1.2.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.1

File hashes

Hashes for salahs-twitterbot-1.2.3.tar.gz
Algorithm Hash digest
SHA256 ece7622a0ab32c52e298bed80feecc47d0a6cf176d530828c2cf93d4c6267d33
MD5 1414c6b9c4ad979e14718750ed64ebb5
BLAKE2b-256 624ed9e300b5b323b5d5a03e640a5958e1321e6d00c175045731afca134ee88d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: salahs_twitterbot-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.1

File hashes

Hashes for salahs_twitterbot-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 29d94e6b63fa7a85c6df9c5c749b0fece003b566af4054eebe468f999516774e
MD5 a3baea3c9eb9d6d900fd2013fdf0907a
BLAKE2b-256 a132152d1e450057dd0b0362c39594bbab3f616c41c4ffad50818c9a19bde49c

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