Dynamic Callback URL works again
Using POST to set dynamic callback_url decided to break within 3 hours of testing it.. haha.
This commit is contained in:
parent
8e26e568a6
commit
5eb7f29bff
1 changed files with 0 additions and 3 deletions
|
|
@ -242,9 +242,6 @@ class Twython(object):
|
||||||
request_args['oauth_callback'] = callback_url
|
request_args['oauth_callback'] = callback_url
|
||||||
method = 'get'
|
method = 'get'
|
||||||
|
|
||||||
if not OAUTH_LIB_SUPPORTS_CALLBACK:
|
|
||||||
method = 'post'
|
|
||||||
|
|
||||||
func = getattr(self.client, method)
|
func = getattr(self.client, method)
|
||||||
response = func(self.request_token_url, data=request_args)
|
response = func(self.request_token_url, data=request_args)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue