更新时间:2023-12-03 14:41:40
正如您在 文档中所见,使用 REST API,您将需要 OAuth 令牌为了做到这一点.幸运的是,我们可以使用 搜索(不使用 OAuth)并使用 来自:[用户名]代码> 操作员
As you can see in the documentation, using the REST API you'll need OAuth Tokens in order to do this. Luckily, we can use the Search (which doesn't use OAuth) and use the from:[USERNAME]
operator
示例:http://search.twitter.com/search.json?q=from:marcofolio
会给你一个带有来自该用户的推文的 JSON 对象,其中
object.results[0]
会给你最后一条推文.