Merge 2d67e3f2f4 into 918510ebc8
This commit is contained in:
commit
cb60e7739f
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ class Twython(object):
|
||||||
def get_authorized_tokens(self):
|
def get_authorized_tokens(self):
|
||||||
"""Returns authorized tokens after they go through the auth_url phase.
|
"""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))
|
authorized_tokens = dict(parse_qsl(response.content))
|
||||||
if not authorized_tokens:
|
if not authorized_tokens:
|
||||||
raise TwythonError('Unable to decode authorized tokens.')
|
raise TwythonError('Unable to decode authorized tokens.')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue