It sounds like your odds in your “local_settings.py”
Daniel Peterschmidt
11

I missed that part in the instructions! I reread them and I changed the odds to a 1 but now I’m getting this error.

Traceback (most recent call last):
File "ebooks.py", line 79, in <module>
source_tweets_iter, max_id = grab_tweets(api,max_id)
File "ebooks.py", line 50, in grab_tweets
user_tweets = api.GetUserTimeline(screen_name=user, count=200, max_id=max_id, include_rts=True, trim_user=True, exclude_replies=True)
File "/app/.heroku/python/lib/python2.7/site-packages/twitter/api.py", line 716, in GetUserTimeline
data = self._ParseAndCheckTwitter(resp.content.decode('utf-8'))
File "/app/.heroku/python/lib/python2.7/site-packages/twitter/api.py", line 4688, in _ParseAndCheckTwitter
self._CheckForTwitterError(data)
File "/app/.heroku/python/lib/python2.7/site-packages/twitter/api.py", line 4715, in _CheckForTwitterError
raise TwitterError(data['errors'])
twitter.error.TwitterError: [{u'code': 32, u'message': u'Could not authenticate you.'}]

I checked this on Google and apparently it was due to them not using an Twitter account with more than 3,600 tweets but both the accounts I am trying to use have 12k. Some people said it was something to do with the ebooks.py file but I haven’t even touched it. Not sure what’s going on? :(

Like what you read? Give Kelly Leon a round of applause.

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