資料 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選填