You can then use the verifier to get the access token and secret::
- access_token, access_token_secret = oauth1_user_handler.fetch_token(
+ access_token, access_token_secret = oauth1_user_handler.get_access_token(
"Verifier (oauth_verifier) here"
)
"oauth_token": "Request Token (oauth_token) here",
"oauth_token_secret": request_secret
}
- access_token, access_token_secret = new_oauth1_user_handler.fetch_token(
+ access_token, access_token_secret = new_oauth1_user_handler.get_access_token(
"Verifier (oauth_verifier) here"
)
retrieve this PIN from the user to use as the verifier::
verifier = input("Input PIN: ")
- access_token, access_token_secret = oauth1_user_handler.fetch_token(
+ access_token, access_token_secret = oauth1_user_handler.get_access_token(
verifier
)