Felo API PlatformFelo API Platform
Todos los endpoints de X
v0.2.0-beta
OpenAPI 3.1.0

Obtener tweets por IDs

Servidor:https://openapi.felo.ai
Bibliotecas cliente

Twitter / X

​

Query public users, posts, communities and trends.

Twitter / X Operaciones

Obtener tweets por IDs

​

Obtiene el contenido completo de tweets concretos cuando ya conoces sus IDs numéricos (admite varios IDs en una llamada). Úsalo para convertir IDs obtenidos de búsquedas, cronologías o respuestas en objetos completos. Devuelve texto, autor, cliente de origen, idioma, hora de creación y recuentos de interacción (me gusta, retuits, respuestas, citas, marcadores, visualizaciones). Si aún no tienes los IDs, empieza con get_twitter_tweet_advanced_search.

Referencia de precios

  • Medición: recuento de resultados medidos.
  • Estimación de referencia por solicitud: USD 0.0075.
  • Base de costo mínima: USD 0.00015.
  • Multiplicador de referencia del cliente: 1.0. No lo apliques de nuevo a un importe de cliente ya liquidado.
  • Las bases de costo no determinan el precio final del cliente, incluso cuando son cero.

Solo metadatos de referencia, no una cotización de la cuenta, un precio garantizado ni un límite de gasto. Los créditos de recursos no son créditos de Felo. Los cargos finales se rigen por los registros de facturación de Felo.

Parámetros de consulta
  • tweet_ids
    Tipo: string
Respuestas
  • 200
    Tipo: object

    Respuesta correcta

    • code
      Tipo: integer

      Integer numbers.

    • msg
      Tipo: string
    • status
      Tipo: string
    • tweets
      Tipo: array object[] · ResponseD824635D04Cf_Tweet[]
      • author
        Tipo: object · ResponseD824635D04Cf_User
        • automatedBy
          Tipo: string
        • canDm
          Tipo: boolean
        • coverPicture
          Tipo: string
        • createdAt
          Tipo: string
        • description
          Tipo: string
        • favouritesCount
          Tipo: integer

          Integer numbers.

        • followers
          Tipo: integer

          Integer numbers.

        • following
          Tipo: integer

          Integer numbers.

        • hasCustomTimelines
          Tipo: boolean
        • id
          Tipo: string
        • isAutomated
          Tipo: boolean
        • isBlueVerified
          Tipo: boolean
        • isTranslator
          Tipo: boolean
        • location
          Tipo: string
        • mediaCount
          Tipo: integer

          Integer numbers.

        • message
          Tipo: string
        • name
          Tipo: string
        • pinnedTweetIds
          Tipo: array string[]
        • possiblySensitive
          Tipo: boolean
        • profilePicture
          Tipo: string
        • statusesCount
          Tipo: integer

          Integer numbers.

        • type
          Tipo: string
        • unavailable
          Tipo: boolean
        • unavailableReason
          Tipo: string
        • url
          Tipo: string
        • userName
          Tipo: string
        • verifiedType
          Tipo: string
        • withheldInCountries
          Tipo: array string[]
      • bookmarkCount
        Tipo: integer

        Integer numbers.

      • conversationId
        Tipo: string
      • createdAt
        Tipo: string
      • displayTextRange
        Tipo: array integer[]
      • entities
        Tipo: object
        • hashtags
          Tipo: array object[]
          • indices
            Tipo: array integer[]
          • text
            Tipo: string
        • urls
          Tipo: array object[]
          • display_url
            Tipo: string
          • expanded_url
            Tipo: string
          • indices
            Tipo: array integer[]
          • url
            Tipo: string
        • user_mentions
          Tipo: array object[]
          • id_str
            Tipo: string
          • name
            Tipo: string
          • screen_name
            Tipo: string
      • id
        Tipo: string
      • inReplyToId
        Tipo: string
      • inReplyToUserId
        Tipo: string
      • inReplyToUsername
        Tipo: string
      • isLimitedReply
        Tipo: boolean
      • isReply
        Tipo: boolean
      • lang
        Tipo: string
      • likeCount
        Tipo: integer

        Integer numbers.

      • quoteCount
        Tipo: integer

        Integer numbers.

      • quoted_tweet
        Tipo: string
      • replyCount
        Tipo: integer

        Integer numbers.

      • retweetCount
        Tipo: integer

        Integer numbers.

      • retweeted_tweet
        Tipo: string
      • source
        Tipo: string
      • text
        Tipo: string
      • type
        Tipo: string
      • url
        Tipo: string
      • viewCount
        Tipo: integer

        Integer numbers.

    application/json
  • 400

    No se pudo procesar la solicitud. Comprueba los parámetros de la solicitud.

  • 401

    Se requiere una clave de API de Felo válida.

  • 402

    La solicitud no puede continuar porque no se cumple un requisito de facturación.

  • 403

    La cuenta no tiene permiso para realizar esta operación.

  • 429

    Se ha alcanzado un límite de solicitudes o de gasto.

  • 502

    El servicio no pudo completar la solicitud.

  • 503

    La API o el servicio de facturación no están disponibles temporalmente.

  • 504

    El servicio agotó el tiempo de espera al procesar la solicitud.

  • default

    Respuesta de error; las respuestas de paso del upstream pueden usar formatos del proveedor

    application/json
Request Example for get/v1/beta/twitter/tweets
curl https://openapi.felo.ai/v1/beta/twitter/tweets \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "tweets": [
    {
      "type": "string",
      "id": "string",
      "url": "string",
      "text": "string",
      "source": "string",
      "retweetCount": 1,
      "replyCount": 1,
      "likeCount": 1,
      "quoteCount": 1,
      "viewCount": 1,
      "createdAt": "string",
      "lang": "string",
      "bookmarkCount": 1,
      "isReply": true,
      "inReplyToId": "string",
      "conversationId": "string",
      "displayTextRange": [
        1
      ],
      "inReplyToUserId": "string",
      "inReplyToUsername": "string",
      "author": {
        "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"
      },
      "entities": {
        "hashtags": [
          {
            "indices": [
              1
            ],
            "text": "string"
          }
        ],
        "urls": [
          {
            "display_url": "string",
            "expanded_url": "string",
            "indices": [
              1
            ],
            "url": "string"
          }
        ],
        "user_mentions": [
          {
            "id_str": "string",
            "name": "string",
            "screen_name": "string"
          }
        ]
      },
      "quoted_tweet": "string",
      "retweeted_tweet": "string",
      "isLimitedReply": true
    }
  ],
  "status": "string",
  "msg": "string",
  "code": 1
}
Get Tweets by IDs