数据 API / X / User
Batch Get User Info By UserIds
Resolve many X users at once from their numeric user IDs, passed as a comma-separated userIds string. Use this when a previous call (timeline, retweeters, followers) gave you IDs and you need to turn them into full profiles in one request instead of looping. Returns an array of user objects under users. Note this endpoint takes numeric IDs, not @handles — to look up by handle use get_twitter_user_info.
参数
查询
userIdsstring必填Comma-separated user IDs
请求示例
curl -G "https://openapi.felo.ai/v1/beta/twitter/user/batch_info_by_ids" \
--data-urlencode "userIds=<string>" \
-H "Authorization: Bearer $FELO_API_KEY"响应
响应字段
usersobject[]可选typestring可选userNamestring可选urlstring可选idstring可选namestring可选isBlueVerifiedboolean可选verifiedTypestring可选profilePicturestring可选coverPicturestring可选descriptionstring可选locationstring可选followersinteger可选followinginteger可选canDmboolean可选createdAtstring可选favouritesCountinteger可选hasCustomTimelinesboolean可选isTranslatorboolean可选mediaCountinteger可选statusesCountinteger可选withheldInCountriesstring[]可选possiblySensitiveboolean可选pinnedTweetIdsstring[]可选isAutomatedboolean可选automatedBystring可选unavailableboolean可选messagestring可选unavailableReasonstring可选statusstring可选允许值: success · error
msgstring可选