/twitter-bot

Twitter bot with tweepy in python

Primary LanguagePythonMIT LicenseMIT

twitter-bot

Twitter bot with tweepy in python


Getting Started

Prerequsites

Clone

Clone this repo to your local machine

git clone https://github.com/j-tesla/twitter-bot.git

Installing

cd twitter-bot

Virtual environment (optional)

python3 -m pip install venv
python3 -m venv venv
source venv/bin/activate

Install dependencies

python3 -m pip install -r requirements.txt

Configuring

  1. Log onto https://developer.twitter.com/

  2. Create an app with read and write permissions

  3. Generate api and access keys and copy them

  4. Copy example-keys.json to a new file keys.json and fill the appropriate fields. (Never make your keys.json file public)

Deployment

Run main.py:

python3 main.py

Built with

License

This project is licensed under the MIT License - check the LICENSE file for details.