statuses.user_timeline
GET
/statuses/user_timeline.json
recent statuses posted by the authenticating user. It is also possible to request another user's
timeline by using the screen_name or user_id parameter. The other users timeline will only be
visible if they are not protected, or if the authenticating user's follow request was accepted by
the protected user. The timeline returned is the equivalent of the one seen when you view a user's
profile on twitter.com. This method can only return up to 3,200 of a user's most recent statuses.
Native retweets of other statuses by the user is included in this total, regardless of whether
include_rts is specified when requesting this resource. This method will not include retweets in the
XML and JSON responses unless the include_rts parameter is set. The RSS and Atom responses will
always include retweets as statuses prefixed with RT, regardless of provided parameters. Always
specify either an user_id or screen_name when requesting a user timeline.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.twitter.com/1.1/statuses/user_timeline.json'
响应示例响应示例
{}
请求参数
无
返回响应
修改于 2024-09-24 06:06:38