From 5d60043af6bbe0a57801d8b82eea716aa27a165c Mon Sep 17 00:00:00 2001 From: Suhem Parack Date: Tue, 1 Mar 2022 20:47:47 -0800 Subject: [PATCH] Fixed comments --- examples/API_v2/get_liked_tweets.py | 2 +- examples/API_v2/get_users_mentions.py | 2 +- examples/API_v2/get_users_timeline.py | 2 +- examples/API_v2/lookup_tweets_using_tweet_ids.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/API_v2/get_liked_tweets.py b/examples/API_v2/get_liked_tweets.py index 3cdb201..021d4b6 100644 --- a/examples/API_v2/get_liked_tweets.py +++ b/examples/API_v2/get_liked_tweets.py @@ -14,7 +14,7 @@ id = 2244994945 # request them using the tweet_fields parameter tweets = client.get_liked_tweets(id, tweet_fields=["created_at"]) -# Print the Tweet text and the time the Tweet was created +# Print the Tweet id and the time the Tweet was created for tweet in tweets.data: print(tweet.id) print(tweet.created_at) diff --git a/examples/API_v2/get_users_mentions.py b/examples/API_v2/get_users_mentions.py index c6673a4..2835e39 100644 --- a/examples/API_v2/get_users_mentions.py +++ b/examples/API_v2/get_users_mentions.py @@ -13,7 +13,7 @@ id = 2244994945 # By default the Tweet ID and Tweet text will be returned. tweets = client.get_users_mentions(id) -# Print the Tweet text +# Print the Tweet id for tweet in tweets.data: print(tweet.id) \ No newline at end of file diff --git a/examples/API_v2/get_users_timeline.py b/examples/API_v2/get_users_timeline.py index cec5254..856c380 100644 --- a/examples/API_v2/get_users_timeline.py +++ b/examples/API_v2/get_users_timeline.py @@ -13,7 +13,7 @@ id = 2244994945 # By default the Tweet ID and Tweet text will be returned. tweets = client.get_users_tweets(id) -# Print the Tweet text +# Print the Tweet id for tweet in tweets.data: print(tweet.id) \ No newline at end of file diff --git a/examples/API_v2/lookup_tweets_using_tweet_ids.py b/examples/API_v2/lookup_tweets_using_tweet_ids.py index 847b98c..295ac0c 100644 --- a/examples/API_v2/lookup_tweets_using_tweet_ids.py +++ b/examples/API_v2/lookup_tweets_using_tweet_ids.py @@ -14,7 +14,7 @@ ids = [1409935014725177344, 1409931481552543749, 1441054496931541004] # Tweet fields, specify those in tweet_fields tweets = client.get_tweets(ids=ids, tweet_fields=["created_at"]) -# Print the Tweet text and the time the Tweet was created +# Print the Tweet id and the time the Tweet was created for tweet in tweets.data: print(tweet.id) print(tweet.created_at) -- 2.25.1