Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Batch Get User Info By UserIds

Сервер:https://openapi.felo.ai
Клиентские библиотеки

Twitter / X

​

Query public users, posts, communities and trends.

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.

Query-параметры
  • userIds
    Тип: string
    обязательно

    Comma-separated user IDs

Ответы
  • 200
    Тип: object · BatchUserInfoResponse

    Batch user information

    • msg
      Тип: string
    • status
      Тип: string enum
      значения
      • success
      • error
    • users
      Тип: array object[]
      • automatedBy
        Тип: string
      • canDm
        Тип: boolean
      • coverPicture
        Тип: string
      • createdAt
        Тип: string
      • description
        Тип: string
      • favouritesCount
        Тип: integer

        Integer numbers.

      • followers
        Тип: integer

        Integer numbers.

      • following
        Тип: integer

        Integer numbers.

      • hasCustomTimelines
        Тип: boolean
      • id
        Тип: string
      • isAutomated
        Тип: boolean
      • isBlueVerified
        Тип: boolean
      • isTranslator
        Тип: boolean
      • location
        Тип: string
      • mediaCount
        Тип: integer

        Integer numbers.

      • message
        Тип: string
      • name
        Тип: string
      • pinnedTweetIds
        Тип: array string[]
      • possiblySensitive
        Тип: boolean
      • profilePicture
        Тип: string
      • statusesCount
        Тип: integer

        Integer numbers.

      • type
        Тип: string
      • unavailable
        Тип: boolean
      • unavailableReason
        Тип: string
      • url
        Тип: string
      • userName
        Тип: string
      • verifiedType
        Тип: string
      • withheldInCountries
        Тип: array string[]
    application/json
  • 400

    The request could not be processed. Check the request parameters.

  • 401

    A valid Felo API key is required.

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    A request or spending limit has been reached.

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for get/v1/beta/twitter/user/batch_info_by_ids
curl 'https://openapi.felo.ai/v1/beta/twitter/user/batch_info_by_ids?userIds=' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "users": [
    {
      "type": "string",
      "userName": "string",
      "url": "string",
      "id": "string",
      "name": "string",
      "isBlueVerified": true,
      "verifiedType": "string",
      "profilePicture": "string",
      "coverPicture": "string",
      "description": "string",
      "location": "string",
      "followers": 1,
      "following": 1,
      "canDm": true,
      "createdAt": "string",
      "favouritesCount": 1,
      "hasCustomTimelines": true,
      "isTranslator": true,
      "mediaCount": 1,
      "statusesCount": 1,
      "withheldInCountries": [
        "string"
      ],
      "possiblySensitive": true,
      "pinnedTweetIds": [
        "string"
      ],
      "isAutomated": true,
      "automatedBy": "string",
      "unavailable": true,
      "message": "string",
      "unavailableReason": "string"
    }
  ],
  "status": "success",
  "msg": "string"
}
Batch Get User Info By UserIds