获取特定 Twitter 用户的推文?

发布于 2024-12-03 07:51:32 字数 278 浏览 2 评论 0原文

从 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

A君 2024-12-10 07:51:32

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文