From: Harmon Date: Wed, 9 Feb 2022 21:42:10 +0000 (-0600) Subject: Update usage of AppAuthHandler in pagination documentation X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d51a961d7a04fededc3be68b25c926e3296db39f;p=tweepy.git Update usage of AppAuthHandler in pagination documentation Update usage of AppAuthHandler to OAuth2AppHandler in pagination documentation --- diff --git a/docs/pagination.rst b/docs/pagination.rst index a96f36a..0f6b690 100644 --- a/docs/pagination.rst +++ b/docs/pagination.rst @@ -29,7 +29,7 @@ Example import tweepy - auth = tweepy.AppAuthHandler("Consumer Key here", "Consumer Secret here") + auth = tweepy.OAuth2AppHandler("Consumer Key here", "Consumer Secret here") api = tweepy.API(auth) for status in tweepy.Cursor(api.search_tweets, "Tweepy",