From: Suhem Parack Date: Tue, 1 Mar 2022 20:31:19 +0000 (-0800) Subject: Update examples/API_v2/get_liked_tweets.py X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e1d7e61bfca01eb55067971d3bc8eab205fe6368;p=tweepy.git Update examples/API_v2/get_liked_tweets.py Co-authored-by: Harmon --- diff --git a/examples/API_v2/get_liked_tweets.py b/examples/API_v2/get_liked_tweets.py index 8bd33a7..a99bbf1 100644 --- a/examples/API_v2/get_liked_tweets.py +++ b/examples/API_v2/get_liked_tweets.py @@ -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: