Returns Tweet objects liked by the provided User ID
GET
/2/users/{id}/liked_tweetsReturns a list of Tweets liked by the provided User ID
请求参数
Path 参数
id
必需
The ID of the User to list the liked Tweets of
Query 参数
max_results
可选
The maximum number of results
pagination_token
可选
This parameter is used to get the next 'page' of results.
expansions
可选
A comma separated list of fields to expand.
tweet.fields
可选
A comma separated list of Tweet fields to display.
user.fields
可选
A comma separated list of User fields to display.
media.fields
可选
A comma separated list of Media fields to display.
place.fields
可选
A comma separated list of Place fields to display.
poll.fields
可选
A comma separated list of Poll fields to display.
示例代码
返回响应
The request was successful(200)
500(500)
The request was successful
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
data
$ref(#/definitions/1045152)[]
可选
>= 1 items
#/definitions/1045152
可选
errors
$ref(#/definitions/1045133)[]
可选
>= 1 items
#/definitions/1045133
可选
includes
#/definitions/1045099可选
meta
object
可选
next_token
string
可选
The next token
正则匹配:
^[a-zA-Z0-9]+$
previous_token
string
可选
The previous token
正则匹配:
^[a-zA-Z0-9]+$
result_count
integer <int32>
可选
Number of Tweets in result set
示例
未设置
最后修改时间: 3 年前