From d51a961d7a04fededc3be68b25c926e3296db39f Mon Sep 17 00:00:00 2001 From: Harmon Date: Wed, 9 Feb 2022 15:42:10 -0600 Subject: [PATCH] Update usage of AppAuthHandler in pagination documentation Update usage of AppAuthHandler to OAuth2AppHandler in pagination documentation --- docs/pagination.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.25.1