【发布时间】:2017-08-28 21:42:04
【问题描述】:
我以前从未使用过 twitter,我需要实现 Twitter Rest API。我需要使用我的应用程序从一页中读取所有推文(例如:here)。
现在我正在阅读文档,但我不知道我必须为此使用哪个端点。
谁能指出我必须使用哪个端点?
【问题讨论】:
我以前从未使用过 twitter,我需要实现 Twitter Rest API。我需要使用我的应用程序从一页中读取所有推文(例如:here)。
现在我正在阅读文档,但我不知道我必须为此使用哪个端点。
谁能指出我必须使用哪个端点?
【问题讨论】:
一些例子
用户时间线https://twitter.com/azure -> https://dev.twitter.com/rest/reference/get/statuses/user_timeline
你的主页时间线https://twitter.com/ -> https://dev.twitter.com/rest/reference/get/statuses/home_timeline
推文永久链接https://twitter.com/Azure/status/898616738396332033 -> https://dev.twitter.com/rest/reference/get/statuses/show/id
【讨论】:
exclude_replies 指定为true 或1 您的请求以从响应中排除回复。要从响应中排除转推,请指定 include_rts 到 false 或 0