OAuth_verifier is now required when getting authorized tokens. Added it in.
This commit is contained in:
parent
a6afb2cf5c
commit
2d67e3f2f4
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ class Twython(object):
|
|||
def get_authorized_tokens(self):
|
||||
"""Returns authorized tokens after they go through the auth_url phase.
|
||||
"""
|
||||
response = self.client.get(self.access_token_url)
|
||||
response = self.client.get(self.access_token_url,params={'oauth_verifier':self.oauth_token_secret})
|
||||
authorized_tokens = dict(parse_qsl(response.content))
|
||||
if not authorized_tokens:
|
||||
raise TwythonError('Unable to decode authorized tokens.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue