我正在尝试使用 twitteR 函数“searchTwitter”检索约 3000 条带有关键字“nba”或主题标签“#nba”的推文,但在 2013 年 1 月 1 日和2014 年 2 月 25 日。我真的很困惑,这正常吗?有没有其他人在使用 twitteR 时遇到过类似的问题?请帮忙。非常感激!
library(twitteR)
library(plyr)
library(stringr)
load("~/twitter_authentication.Rdata")
registerTwitterOAuth(cred)
nbahash_tweets = searchTwitter("#nba",since='2013-01-01', until='2014-02-25',n=3000)
nba_tweets = searchTwitter("nba",since='2013-01-01', until='2014-02-25',n=3000)
Warning message:
In doRppAPICall("search/tweets", n, params = params, retryOnRateLimit = retryOnRateLimit, :
3000 tweets were requested but the API can only return 398
接着
Warning message:
In doRppAPICall("search/tweets", n, params = params, retryOnRateLimit = retryOnRateLimit, :
3000 tweets were requested but the API can only return 299