tommeagher / heroku_ebooks

An archive of a script to generate Markov chains and to post to an _ebooks account on Twitter using Heroku. No longer actively supported.
264 stars 163 forks source link

u'Could not authenticate you.', u'code': 32 #31

Closed marcodionisio closed 7 years ago

marcodionisio commented 7 years ago

Hi! I'm not familiar with Python so I'm having a hard time trying to fix this error.

Running worker on pure-badlands-73935... up, run.3341 (Free) Traceback (most recent call last): File "ebooks.py", line 78, in handle_stats = api.GetUser(screen_name=user) File "/app/.heroku/python/lib/python2.7/site-packages/twitter/api.py", line 2928, in GetUser data = self._ParseAndCheckTwitter(resp.content.decode('utf-8')) File "/app/.heroku/python/lib/python2.7/site-packages/twitter/api.py", line 4894, in _ParseAndCheckTwitter self._CheckForTwitterError(data) File "/app/.heroku/python/lib/python2.7/site-packages/twitter/api.py", line 4914, in _CheckForTwitterError raise TwitterError(data['errors']) twitter.error.TwitterError: [{u'message': u'Could not authenticate you.', u'code': 32}]

Thanks!

tommeagher commented 7 years ago

Hi @marcodionisio. Did you follow steps 1-6 in the README? It looks like you didn't put your API credentials in a local_settings.py file.