没有真正存在的 # 的搜索结果

No search results for a # that really exists

我正在分析#angtunaynalalake 或#AngTunayNaLalake - 一条在菲律宾很有名的推文。我 运行 以下代码但有 0 个结果。我使用其他著名的#s(例如#MeToo 或#rstats)尝试了相同的代码,代码成功了。我尝试使用 'lalake' 而不是“#angtunaynalalake”,代码再次成功。

当我使用 twitteR 时,我能够获得#angtunaynalalake 的结果。我想使用 rtweet,因为它可以提供比 twitteR 更多的搜索结果。

你认为为什么会发生这种情况?

create_token(
  app = "my_twitter_research_app",
  consumer_key = "xxxx",
  consumer_secret = "xxxx",
  access_token = "xxxx",
  access_secret = "xxxx")


> rt <- search_tweets(
+   "#angtunaynalalake", n = 25000, retryonratelimit = TRUE
+ )

正在搜索推文... 这可能需要几秒钟... 推文收集完毕!

> rt

具有 0 列和 0 行的数据框 '''

这是 Twitter API 的问题,而不是 rtweet 包的问题。

请参阅 twitter API page.

中的这句话

"Keep in mind that the search index has a 7-day limit. In other words, no tweets will be found for a date older than one week."

#angtunaynalalake 的最新推文似乎是在 2019 年 1 月,因此标准推特 API 找不到任何推文。

如果您需要访问超过 7 天的推文,请考虑 twitter API pricing plans.