Twitter API Not accepting my credentials


Every time I try running my code, I get an error that I'm not authorized to use this API.

Traceback (most recent call last):
  File "", line 16, in <module>
    statuses = twitter_api.GetUserTimeline(screen_name=handle, count=200, include_rts=False)
  File "/usr/local/lib/python2.7/dist-packages/twitter/", line 799, in GetUserTimeline
    data = self._ParseAndCheckTwitter(resp.content.decode('utf-8'))
  File "/usr/local/lib/python2.7/dist-packages/twitter/", line 4894, in _ParseAndCheckTwitter
  File "/usr/local/lib/python2.7/dist-packages/twitter/", line 4914, in _CheckForTwitterError
    raise TwitterError(data['errors'])
twitter.error.TwitterError: [{u'message': u'Could not authenticate you.', u'code': 32}]


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.