-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception when call get_access_token #4
Comments
Python 2.5.1 |
Could you also paste a trace back for this exception. Thanks. |
...I am new to python, and using web2py. I've tried, but don't known how to trace. |
Remove the try block and it should print out a traceback report on the console. |
Ummm, it's my bad. I passed None request_key&secret to auth.set_request_token before get_access_token. |
Glad you figured out the issue. |
I'm having the same problem. As long as I just use one auth object on the terminal everything goes fine, but as soon as I try to rebuild the object on another, it fails. I'm just doing |
Exception: argument 2 to map() must support iteration
Code:
# Rebuild oauth handler
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_request_token(session.rtoken_key, session.rtoken_sec)
The text was updated successfully, but these errors were encountered: