Fixed comments
authorSuhem Parack <sparack@twitter.com>
Wed, 2 Mar 2022 04:47:47 +0000 (20:47 -0800)
committerSuhem Parack <sparack@twitter.com>
Wed, 2 Mar 2022 04:47:47 +0000 (20:47 -0800)
examples/API_v2/get_liked_tweets.py
examples/API_v2/get_users_mentions.py
examples/API_v2/get_users_timeline.py
examples/API_v2/lookup_tweets_using_tweet_ids.py

index 3cdb20183a797b2508284f47853c33a50997853a..021d4b60f901882657c71719d0e885c14d978ff3 100644 (file)
@@ -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)
index c6673a48a638911abab04719eb2b581ef8588e10..2835e3976a0bc268d0ffe047042d1ca8feb156d6 100644 (file)
@@ -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
index cec52549c984583814ec3d347155455c5506a549..856c380bf6ddcc92d3efc4b555a1676075e67d92 100644 (file)
@@ -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
index 847b98c782f32205a9572b21c3968e91ddd768cf..295ac0cd6c5bccd365288e25571aaefe76de649d 100644 (file)
@@ -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)