Skip to content

Simple implementation of setting up a bot on Twitter in Python

Notifications You must be signed in to change notification settings

nidhirpatil/TwitterBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TwitterBot

Simple implementation of bot on Twitter (using Python)

First, you need to create a developer account at www.developer.twitter.com Then, create your application and get the consumer key, conusmer secret key, access token and access token secret. Replace these values in the file credentials.py with the ... in the file.

Install module: tweepy

pip install tweepy

The file named file.py reads the text from tweets.txt, uses new line as a delimiter and tweets the content of the file. The file named filert.py retweets any tweets that contains the phrase #harrypotter These files are run using python.

About

Simple implementation of setting up a bot on Twitter in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages