Skip to content

spaiful/shakespeare-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks