1

使用搜索端点时,无论我使用多么受欢迎的搜索查询,我最多只能获得 15 个结果。将 count 设置为 100 并没有什么不同,但是在按最近排序时会有所不同。有没有其他人经历过这个?这是一个可能的错误还是故意的?

这是一个示例调用:

https://api.twitter.com/1.1/search/tweets.json?q=pluto&result_type=popular&count=100

文档:https ://dev.twitter.com/rest/public/search

4

1 回答 1

1

I have actually the same problem. I can just tell you, if your request has more result than 15, that you can "repeat" the request checking the last block "search_metadata" in the json file. You get directly the next request to do under "next_results". If there are non more results you will not see this part of code.

于 2017-11-10T16:00:11.060 回答