Commit 5151949b authored by Josh Roesslein's avatar Josh Roesslein
Browse files

Add set_request_token method to OAuthHandler.

parent 914d9d5c
......@@ -4,5 +4,6 @@ The plan of attack for the next version of Tweepy.
============
+ implement win32 file locking for FileCache
+ add retweet API methods [DONE]
+ add statuses/retweets method
+ add retweet streaming method [DONE]
......@@ -58,6 +58,9 @@ class OAuthHandler(AuthHandler):
except Exception, e:
raise TweepError(e)
def set_request_token(self, key, secret):
self.request_token = oauth.OAuthToken(key, secret)
def set_access_token(self, key, secret):
self.access_token = oauth.OAuthToken(key, secret)
......@@ -76,7 +79,7 @@ class OAuthHandler(AuthHandler):
except Exception, e:
raise TweepError(e)
def get_access_token(self, verifier):
def get_access_token(self, verifier=None):
"""
After user has authorized the request token, get access token
with user supplied verifier.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment