From: Kye Burchard Date: Sat, 5 Feb 2022 22:35:10 +0000 (-0800) Subject: Fix 3 typos in auth documentation X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5ee89cce77eafcb347d87331fcdc3a578f2686b8;p=tweepy.git Fix 3 typos in auth documentation --- diff --git a/docs/authentication.rst b/docs/authentication.rst index 383bae1..d884032 100644 --- a/docs/authentication.rst +++ b/docs/authentication.rst @@ -199,7 +199,7 @@ they'll be redirected to the Callback / Redirect URI / URL you provided, with 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" ) @@ -218,7 +218,7 @@ and secret:: "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" ) @@ -272,7 +272,7 @@ When the user authenticates with this URL, they'll be provided a PIN. You can 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 )