Skip to content
This repository has been archived by the owner on Oct 7, 2023. It is now read-only.

Authentication Error? #1

Open
sheeran opened this issue Apr 23, 2013 · 1 comment
Open

Authentication Error? #1

sheeran opened this issue Apr 23, 2013 · 1 comment

Comments

@sheeran
Copy link

sheeran commented Apr 23, 2013

I just now upgraded to Mountain Lion and had to re-install some Python stuff to try and get this script working again. After installing tweepy and pytz, I ran the script and got this error:

tweetID file found! 
Latest Tweet ID: 322025990668816385
Gathering unarchived tweets... 
Traceback (most recent call last):
  File "/Users/jabba/Code/scripts/autoTweetArchiver.py", line 59, in <module>
    statuses = api.user_timeline(count=200, include_rts=True, since_id=idValue, screen_name=theUserName)
  File "/Library/Python/2.7/site-packages/tweepy/binder.py", line 185, in _call
    return method.execute()
  File "/Library/Python/2.7/site-packages/tweepy/binder.py", line 168, in execute
    raise TweepError(error_msg, resp)
tweepy.error.TweepError: [{u'message': u'Bad Authentication data', u'code': 215}]

Is this is a result of the Twitter's recent API changes? it appears that Tweepy version 2.0 (what I installed) is updated for it. Thanks for this script BTW. Has worked great up until now.

@barnumbirr
Copy link

Basic auth is no longer supported by the Twitter API, use OAuth instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants