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.