Skip to main content
GET
按 UserIds 批量获取用户信息
通过逗号分隔的 userIds 字符串,一次性解析多个 X 用户的数字用户 ID。当之前的调用(时间线、转发者、粉丝)返回了一批 ID,而你需要在一次请求中把它们转成完整资料、而不是循环调用时使用。 users 下返回用户对象数组。 注意该 endpoint 接受的是数字 ID,不是 @handle——如需按 handle 查询,请使用 get_twitter_user_info

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

userIds
string
必填

以逗号分隔的用户 ID

响应

200 - application/json

批量用户信息

users
object[]
status
enum<string>
可用选项:
success,
error
msg
string