A Twitter bot written in Python using Tweepy

Twitter Like and Retweet Bot

A Twitter bot written in Python using Tweepy and hosted on a server. It will like and/or retweet tweets that contain single or multiple keywords and hashtags.

Instructions

  1. Apply for Twitter Developer Access with the account you want the bot to be used for.

  2. Create a new Twitter Application to generate your private keys, secrets, and tokens.

keys-secrets

  • Make sure the app settings has Read and Write permissions.

app-permissions

  1. Create a file named credentials.py to hold the private information using the format below.
    • See File Structure for where the file should be placed.
TWITTER_API_KEY="xxxx"
TWITTER_API_KEY_SECRET="xxxx"
TWITTER_ACCESS_TOKEN="xxxx"
TWITTER_ACCESS_TOKEN_SECRET="xxxx"
  1. Adjustments you can

     

     

     

    To finish reading, please visit source site