Twitter API Not accepting my credentials


#1

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 "CelebrityMatch.py", 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/api.py", line 799, in GetUserTimeline
    data = self._ParseAndCheckTwitter(resp.content.decode('utf-8'))
  File "/usr/local/lib/python2.7/dist-packages/twitter/api.py", line 4894, in _ParseAndCheckTwitter
    self._CheckForTwitterError(data)
  File "/usr/local/lib/python2.7/dist-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}]

#2

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