获取特定 Twitter 用户的推文?
从 Twitter 获取用户推文的协议是什么?
假设我想编写一个程序来关注 Twitter 帐户并阅读其所有推文。为了获取 Twitter 用户的条目,需要实现什么协议。
编辑: 我发现了这个:
https://dev.twitter.com/docs/api /1/get/lists/show
什么是“slug”?
What is the protocol of getting the tweets of a user from Twitter?
Let's say I want to write a program that follows a Twitter account and read all its tweets. What is the protocol that needs to be implemented in order to fetch the entries of a Twitter user.
edit:
i found this:
https://dev.twitter.com/docs/api/1/get/lists/show
what is "slug" ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Twitter API 是一个 RESTful HTTP API。唯一涉及的协议是 HTTP。有效负载最常见的是 JSON。您可以在此处阅读完整的 RESTful API:https://dev.twitter.com/docs/api
出于您的目的,您需要使用 GET statuses/user_timeline< /a> 资源。您可以使用
screen_name
参数指定要检索的用户。The Twitter API is a RESTful HTTP API. The only protocol involved is HTTP. The payload is most commonly JSON. You can read about the entire RESTful API here: https://dev.twitter.com/docs/api
For your purposes, you would need to use the GET statuses/user_timeline resource. You can specify which user to retrieve by using the
screen_name
parameter.