Which of the following statements is false?
A) The API method user_timeline returns tweets from the xe "Twitter:timeline"xe "timeline (Twitter) "timeline of a specific account. A timeline includes that account's tweets and tweets from that account's friends.
B) Method xe "API class (Tweepy) :user_timeline method"xe "user_timeline method of class API"user_timeline returns Status objects with each one representing a tweet. Each Status's user property refers to a tweepy.models.User object containing information about the user who sent that tweet, such as that user's screen_name.
C) A Status's text property contains the tweet's text. The following code displays the screen_name and text for three tweets from @nasa:
Nasa_tweets = api.user_timeline(screen_name='nasa', count=3)
For tweet in nasa_tweets:
Print(f'{tweet.user.screen_name}: {tweet.text}\n')
D) If you wish to get more than the maximum number of tweets per call (200) , then you should use a Status object to call user_timeline.
Correct Answer:
Verified
Q2: Which of the following statements is false?
A)
Q3: Which of the following statements a) b)
Q4: Which of the following statements a) b)
Q5: Which of the following statements a) b)
Q6: Which of the following statements is false?
A)
Q7: Which of the following statements a), b)
Q8: The following code creates an xe "Tweepy
Q9: Which of the following statements a) b)
Q10: Which of the following statements is false?
A)
Q11: Which of the following statements a) b)
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents