Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit 04d1494

Browse files
committed
Update get_access_token.py
Add 'oob' to enable PIN based authentication correctly
1 parent 2bf6a8a commit 04d1494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

get_access_token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525

2626
def get_access_token(consumer_key, consumer_secret):
27-
oauth_client = OAuth1Session(consumer_key, client_secret=consumer_secret)
27+
oauth_client = OAuth1Session(consumer_key, client_secret=consumer_secret, callback_uri='oob')
2828

2929
print 'Requesting temp token from Twitter'
3030

0 commit comments

Comments
 (0)