Skip to content

An early version Twitter bot to automatically reply tweets associated with a certain keyword

License

Notifications You must be signed in to change notification settings

mekken2/Twitter_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Twitter_Bot

An early version Twitter bot created by Priyanshu Kumar to automatically reply tweets associated with a certain keyword and tag - #hellobot

Set up notes

How to install Tweepy

First, check your Python version with python3 --version or python --version on console (terminal/shell/command prompt).

If you have Python 3.6, you can just run:

pip3 install tweepy

If you have Python 3.7, run the following instead:

pip3 install -U git+https://github.com/tweepy/tweepy.git@2efe385fc69385b57733f747ee62e6be12a1338b

If the above command doesn't work, try replacing pip3 with pip also.

If you have Python 3.7 and want to use pipenv, use:

pipenv install -e git+https://github.com/tweepy/tweepy.git@2efe385fc69385b57733f747ee62e6be12a1338b#egg=tweepy


Files

  • my_twitter_bot.py - This is the main file that includes all the logic.
  • last_seen_id.txt - This will contain the ID of the tweet that my_twitter_bot.py has seen last. If you see any errors when running the main file, try replacing the content with the ID of one of the tweets you want to examine.

About

An early version Twitter bot to automatically reply tweets associated with a certain keyword

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages