def get_tweets_from_timeline(self):
"""Return a list of all the tweets from the home timeline"""
tweets = []
for status in tweepy.Cursor(self.api.home_timeline).items(200):
tweets.append(status)
return tweets
文章目录