问题
I am looking an example how to use "API.statuses_lookup".
回答1:
use
tweets = self.api.statuses_lookup(tweetIDs)
tweetIDs is a list of your tweet ids ,which u have from ur database or somewhere else in response you will get a status object now use for loop
**for tweet in tweets:
#tweet obtained
print(str(tweet['id'])+str(tweet['text']))**
u can provide maximum 100 tweets
来源:https://stackoverflow.com/questions/39828384/how-to-use-api-statuses-lookup-in-tweepy