为什么我在使用 twitteR 包中的 userTimeline() 函数时无法获得我请求的推文数量?我现在对用户时间线的限制请求是 3200 条推文,但我只得到了其中的 10%...
这里有两个例子:
在此示例中,“googledevs”帐户只有 2,000 条推文,所以我确实要求了 1000 条推文,但我仍然只有 106 条……
> library(twitteR)
> load('OAuth.RData')
> test <- userTimeline(user = 'googledevs', n=1000)
> length(test)
[1] 106
在此示例中,“FiveThirtyEight”有 5622 条推文。所以我要了 3200 只得到了 317 ......
> library(twitteR)
> load('OAuth.RData')
> test2 <- userTimeline(user = 'FiveThirtyEight', n=3200)
> length(test2)
[1] 317
有人可以帮我解决这个问题吗?谢谢