Hi all.

I am working on a web app for Twitter using the Tweepy Python API.  My
code has been working for a month, but at some point this week, it
stopped working.  Now when I request the access token from the
verification code, I get a 401: Unauthorized failure.

I did see from Matt's post yesterday that Tweepy was using the wrong
URLs.  (It was using http://twitter.com/oauth instead of
http://api.twitter.com/oauth.)  I fixed that problem and I'm still
seeing the problem.

I see from everyone else who is reporting this that you want to see
the basestring and Authorization header, so here's what I'm using:

URL: http://api.twitter.com/oauth/access_token
Headers: {'Authorization': 'OAuth realm="", oauth_nonce="58011146",
oauth_timestamp="1292624570", oauth_signature_method="HMAC-SHA1",
oauth_consumer_key="bSf2ywUggWN1w7Yx5FtvJg",
oauth_verifier="8bKG5j8sbzKIkycG61MxtpznR9dOx4L1WQe7rxZ0",
oauth_version="1.0",
oauth_token="8bKG5j8sbzKIkycG61MxtpznR9dOx4L1WQe7rxZ0",
oauth_signature="tOqtyU6E%2FulE8xiYBQRzuv2RMog%3D"'}

Does anyone see a problem here?

Thank you!

Brian

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to