开发者

Fetch tweets for a specific Twitter user?

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" ?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜