How to Make a Twitter Bot in Under an Hour
Daniel Peterschmidt

I’m getting this error message, it seems to be in the file?

Traceback (most recent call last):

File “”, line 79, in <module>

source_tweets_iter, max_id = grab_tweets(api,max_id)

File “”, line 51, in grab_tweets

max_id = user_tweets[len(user_tweets)-1].id-1

IndexError: list index out of range

Like what you read? Give tory hoffman a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.