From e1d7e61bfca01eb55067971d3bc8eab205fe6368 Mon Sep 17 00:00:00 2001 From: Suhem Parack Date: Tue, 1 Mar 2022 12:31:19 -0800 Subject: [PATCH] Update examples/API_v2/get_liked_tweets.py Co-authored-by: Harmon --- examples/API_v2/get_liked_tweets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.25.1