maraujop/requests-oauth refernce added
This commit is contained in:
parent
6325b16265
commit
6a9ede9b53
1 changed files with 1 additions and 0 deletions
|
|
@ -100,6 +100,7 @@ class Twython(object):
|
||||||
OAuthHook.consumer_secret = self.twitter_secret
|
OAuthHook.consumer_secret = self.twitter_secret
|
||||||
|
|
||||||
#if users pass oauth token and secret we initialize with oauth_hook
|
#if users pass oauth token and secret we initialize with oauth_hook
|
||||||
|
#code taken from maraujop/requests-oauth
|
||||||
if self.oauth_token and self.oauth_secret:
|
if self.oauth_token and self.oauth_secret:
|
||||||
#Creating OAuthHooks
|
#Creating OAuthHooks
|
||||||
self.oauth_hook = oauth_hook.OAuthHook(self.oauth_auth_token,\
|
self.oauth_hook = oauth_hook.OAuthHook(self.oauth_auth_token,\
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue