我正在尝试提取转发特定推文的推特用户的屏幕名称。这是我在Python中的代码
# Connect to Twitter
auth = tweepy.AppAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
api = tweepy.API(auth)
print (api.rate_limit_status())
# Get original Tweet details
status = api.get_status(839200990293180416)
retweets = api.retweets (status.id)
print ("Tweet %s, originally posted by %s, was retweeted by..." %(status.id, status.user.screen_name))
# Getting all the retweets
for retweet in retweets:
print (retweet.user.screen_name)
unconnected[retweet.user.screen_name] = retweet.user;
对于这个特定的推文(https://twitter.com/yumisakugawa/status/839200990293180416),我知道有42转推,但我只得到18转推的结果。同样的事情似乎与其他推文有关,其中有超过> 18-20转推。
这是由于转发API速率限制吗?我认为限制是100转推。有人可以帮我这个吗?