0xSpai / ShakespeareBot

A Twitter bot for posting every word of Shakespeare at an interval of time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shakespeare Twitter Bot

A Twitter bot for posting every word of Shakespeare at an interval of time.

Features

  1. Splits any body of text into words
  2. Uses the Twitter API to make posts
  3. Highly customizable

Installation

  1. Clone the Repository:
git clone https://github.com/0xSpai/ShakespeareBot.git
  1. Install Dependencies
pip install -r requirements.txt
  1. Set up API keys:

Create a new file called keys.py and enter the following code:

api_key = ''
api_key_secret = ''
bearer_token = ''
access_token = ''
access_token_secret = ''

Visit https://developer.x.com/ and sign up for a developer account. Fill the relevant fields with your API tokens.

Important

Ensure these keys are kept private. If leaked, they could be used to write/read on your account.

  1. Run the Project:
python bot.py

License

Distributed under the GNU General Public License. See LICENSE.txt for more information.

About

A Twitter bot for posting every word of Shakespeare at an interval of time.

License:GNU General Public License v3.0


Languages

Language:Python 93.7%Language:Batchfile 6.3%