From: Suhem Parack <sparack@gmail.com>
Date: Tue, 1 Mar 2022 22:57:38 +0000 (-0800)
Subject: Update examples/API_v2/lookup_tweets_using_tweet_ids.py
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=50f126014ee94daa6b6813afa944f41146c3ba15;p=tweepy.git

Update examples/API_v2/lookup_tweets_using_tweet_ids.py

Co-authored-by: Harmon <Harmon758@gmail.com>
---

diff --git a/examples/API_v2/lookup_tweets_using_tweet_ids.py b/examples/API_v2/lookup_tweets_using_tweet_ids.py
index 69e7247..5db1290 100644
--- a/examples/API_v2/lookup_tweets_using_tweet_ids.py
+++ b/examples/API_v2/lookup_tweets_using_tweet_ids.py
@@ -16,6 +16,6 @@ tweets = client.get_tweets(ids, tweet_fields=["created_at"])
 
 # Print the Tweet text and the time the Tweet was created
 for tweet in tweets.data:
-    print(tweet)
+    print(tweet.text)
     print(tweet.created_at)
     
\ No newline at end of file