Skip to content
Browse files

Update get_access_token.py

Add 'oob' to enable PIN based authentication correctly
  • Loading branch information...
1 parent 2bf6a8a commit 04d1494cfcbc4508519f559d9a2093f4491c3451 @lababidi lababidi committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 get_access_token.py
View
2 get_access_token.py
@@ -24,7 +24,7 @@
def get_access_token(consumer_key, consumer_secret):
- oauth_client = OAuth1Session(consumer_key, client_secret=consumer_secret)
+ oauth_client = OAuth1Session(consumer_key, client_secret=consumer_secret, callback_uri='oob')
print 'Requesting temp token from Twitter'

0 comments on commit 04d1494

Please sign in to comment.
Something went wrong with that request. Please try again.