Solved

Which of the Following Statements Is False

Question 1

Multiple Choice

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:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents