User lookup by IDs
GET
/2/usersThis endpoint returns information about users. Specify users by their ID.
请求参数
Query 参数
ids
必需
Required. A list of User IDs, comma-separated. You can specify up to 100 IDs.
示例值:
2244994945,6253282,12
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 年前