tags:

views:

127

answers:

0

Hello! Does someone have a successful experience in using oauth script for Twitter (for example)? According to official Oauth docs obtaining an Unauthorized Request Token results in getting The Request Token and The Token Secret in the HTTP response's body.

But while using this script i am getting an exception

raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 401: Unauthorized

I just want to go through basic oauth handling and learn the way it works. If you have any ideas about what's wrong with that script, i would appreciate your help.

Maybe this script is outdated?