From 5ec4558643ab425edd1348b601f5342e89772c2b Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 27 Sep 2021 23:36:58 -0500 Subject: [PATCH] Update oauth example to use API.verify_credentials --- examples/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/oauth.py b/examples/oauth.py index 33960e3..e6c3b1e 100644 --- a/examples/oauth.py +++ b/examples/oauth.py @@ -23,7 +23,7 @@ api = tweepy.API(auth) # If the authentication was successful, you should # see the name of the account print out -print(api.me().name) +print(api.verify_credentials().name) # If the application settings are set for "Read and Write" then # this line should tweet out the message to your account's -- 2.25.1