projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d6b68a
)
Remove invalid section in API v2 authentication example
author
Harmon
<Harmon758@gmail.com>
Fri, 7 Jan 2022 10:28:21 +0000
(
04:28
-0600)
committer
Harmon
<Harmon758@gmail.com>
Fri, 7 Jan 2022 10:28:21 +0000
(
04:28
-0600)
examples/API_v2/authentication.py
patch
|
blob
|
blame
|
history
diff --git
a/examples/API_v2/authentication.py
b/examples/API_v2/authentication.py
index f352cfe322492199b6e18ab295cf223de11dabe4..ef21c9e134f945cbc94f9148539c5610e6b13494 100644
(file)
--- a/
examples/API_v2/authentication.py
+++ b/
examples/API_v2/authentication.py
@@
-24,11
+24,6
@@
access_token_secret = ""
# You can authenticate as your app with just your bearer token
client = tweepy.Client(bearer_token=bearer_token)
-# Alternatively, you can provide the consumer key and secret
-client = tweepy.Client(
- consumer_key=consumer_key, consumer_secret=consumer_secret
-)
-
# You can provide the consumer key and secret with the access token and access
# token secret to authenticate as a user
client = tweepy.Client(