User lookup by ID
GET
/2/users/{id}This endpoint returns information about a user. Specify user by ID.
请求参数
Path 参数
id
必需
Required. A User ID.
示例值:
2244994945
Query 参数
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.
示例代码
返回响应
The request was successful(200)
500(500)
The request was successful
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
No schema defined
示例
未设置
修改于 3 年前