From: Harmon Date: Fri, 7 Jan 2022 10:28:21 +0000 (-0600) Subject: Remove invalid section in API v2 authentication example X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f7f15e6c156daddcb9c984277105a76c8b7bb068;p=tweepy.git Remove invalid section in API v2 authentication example --- diff --git a/examples/API_v2/authentication.py b/examples/API_v2/authentication.py index f352cfe..ef21c9e 100644 --- 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(