Update examples/API_v2/get_liked_tweets.py
authorSuhem Parack <sparack@gmail.com>
Tue, 1 Mar 2022 20:31:19 +0000 (12:31 -0800)
committerGitHub <noreply@github.com>
Tue, 1 Mar 2022 20:31:19 +0000 (12:31 -0800)
Co-authored-by: Harmon <Harmon758@gmail.com>
examples/API_v2/get_liked_tweets.py

index 8bd33a793e072442d0edb9ae3762ee1951b4bb44..a99bbf1a608efdc926d3f0feced57204c753f858 100644 (file)
@@ -10,8 +10,8 @@ client = tweepy.Client(bearer_token)
 # Replace User ID
 id = '2244994945'
 
-# By default the Tweet ID and Tweet text are returned. If you want additional fields, use the appropriate
-# fields and expansions
+# By default the Tweet ID and text are returned. If you want additional fields,
+# request them using the tweet_fields parameter
 tweets = client.get_liked_tweets(id=id, tweet_fields=['context_annotations','created_at'])
 
 for tweet in tweets.data: