twitterbotsample
twitterbotsample copied to clipboard
A sample Twitter bot - created by @ykdojo. This is part of the Edit Dojo project.
I found a way to install tweepy in a more simpler way if anyone is wants to use it. ``` pip install tweepy ```
I have managed to get the bot to reply to a mention with the twitter api and PostUpdate. The problem is that when you reply to the tweet in which...
last_seen_id = int(f_read.read().strip()) This line is giving the stated Error
Hi, I get no errors and reply also not sent ,here is console log retrieving and replying to tweets... retrieving and replying to tweets... retrieving and replying to tweets... retrieving...
As specified in , [official Python docs](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files) using with statement is recommended with file opening.
In your tutorial video, you seem to only upload your bot script and your last seen id file to python anywhere. What about the keys? It won't run without them,...
If I wanted to make my bot respond differently to multiple hastags, how would I have to write that? **Example:** Tweet 1: "#A" Response 1 "this is A" Tweet 2:...
Traceback (most recent call last): File "my_twitter_bot.py", line 10, in auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET) NameError: name 'CONSUMER_KEY' is not defined I tried regenerating the keys to fix this, but I...