From: Aarno Aukia Date: Wed, 26 Dec 2018 21:09:49 +0000 (+0200) Subject: correct the tutorial to save the oauth_token X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d416ba84f037fefb5a424fe81bf0d91a1ce22b02;p=tweepy.git correct the tutorial to save the oauth_token Fixes #523 --- diff --git a/docs/auth_tutorial.rst b/docs/auth_tutorial.rst index 7c5becb..6a9e4ab 100644 --- a/docs/auth_tutorial.rst +++ b/docs/auth_tutorial.rst @@ -65,7 +65,7 @@ request token in the session since we will need it inside the callback URL request. Here is a pseudo example of storing the request token in a session:: - session.set('request_token', auth.request_token) + session.set('request_token', auth.request_token['oauth_token']) So now we can redirect the user to the URL returned to us earlier from the get_authorization_url() method.