我正在使用 R 访问 Twitter 的 REST API。从开发者网站(https://dev.twitter.com/docs/rate-limiting/1.1/limits)我了解到,推特搜索推文的速率限制为每 15 分钟 450 次。
我的问题是:我使用以下代码达到的费率是多少:是 5(单独请求 5 天)还是 500(5 天 * 100 条推文)?
dates <- paste("2014-03-",c(10:15),sep="")
for (i in 2:length(dates)) {
print(paste(dates[i-1], dates[i]))
tweetList <- c(tweetList, searchTwitter("#ddj", since=dates[i-1], until=dates[i], n=100))
}