Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用以下查询:
https://twitter.com/search.json?callback=?&q=from:_adeel&count=5&include_entities=true&include_rts=true
我想看看这个用户的最后 5 条推文。您可以看到用户有超过 2 条推文,但查询只返回 2 条推文。我正在关注 twitter 搜索API,但看不到我做错了什么。我更喜欢使用 twitter 搜索 API,因为我想在客户端执行搜索而没有身份验证和速率限制。
你看到我做错了吗?
如文档中所述,搜索 API 是最近推文的索引,在 6-9 天之间。看起来您链接到的用户的其他推文就在此窗口之外。
所以总结一下 - 你没有做错任何事。这只是 Twitter API 的一个限制。