projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8985dff
)
Update oauth example to use API.verify_credentials
author
Harmon
<Harmon758@gmail.com>
Tue, 28 Sep 2021 04:36:58 +0000
(23:36 -0500)
committer
Harmon
<Harmon758@gmail.com>
Tue, 28 Sep 2021 04:36:58 +0000
(23:36 -0500)
examples/oauth.py
patch
|
blob
|
blame
|
history
diff --git
a/examples/oauth.py
b/examples/oauth.py
index 33960e3420a3d57d1d3bfa084a1c2116a65fae01..e6c3b1e26aa0a2fe21d95cefdbcc215181e2ac34 100644
(file)
--- 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