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

Obter respostas de tweets

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

Twitter / X

​

Query public users, posts, communities and trends.

Twitter / X Operações

Obter respostas de tweets

​

Obtém as respostas diretas de um tweet, com paginação por cursor. Use para ler a discussão abaixo de um post — sentimento, correções ou perguntas de acompanhamento. Retorna objetos completos de tweet com contagens de engajamento. Prefira get_twitter_tweet_replies_v2 quando quiser controlar a ordenação (Relevance, Latest ou Likes); este endpoint v1 retorna apenas a ordem padrão. Para seguir uma conversa para cima até a raiz, em vez de para baixo, use get_twitter_tweet_thread_context.

Referência de preços

  • Medição: contagem de resultados medidos.
  • Estimativa de referência por requisição: USD 0.01335.
  • Base de custo mínima: USD 0.00015.
  • Multiplicador de referência do cliente: 1.0. Não o aplique novamente a um valor de cliente já liquidado.
  • As bases de custo não definem o preço final do cliente, inclusive quando forem zero.

Apenas metadados de referência, não uma cotação da conta, um preço garantido ou um limite de gastos. Créditos de recursos não são créditos Felo. As cobranças finais seguem os registros de cobrança da Felo.

Parâmetros de Consulta
  • cursor
    Tipo: string
  • tweetId
    Tipo: string
Respostas
  • 200
    Tipo: object

    Resposta bem-sucedida

    • has_next_page
      Tipo: boolean
    • msg
      Tipo: string
    • next_cursor
      Tipo: string
    • status
      Tipo: string
    • tweets
      Tipo: array object[] · ResponseD824635D04Cf_Tweet[]

      Array de tweets de resposta.

      • 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

    Não foi possível processar a requisição. Verifique os parâmetros da requisição.

  • 401

    É necessária uma chave de API da Felo válida.

  • 402

    A requisição não pode prosseguir porque um requisito de cobrança não foi atendido.

  • 403

    A conta não tem permissão para realizar esta operação.

  • 429

    Um limite de requisições ou de gastos foi atingido.

  • 502

    O serviço não pôde concluir a requisição.

  • 503

    A API ou o serviço de cobrança está temporariamente indisponível.

  • 504

    O serviço atingiu o tempo limite ao processar a requisição.

  • default

    Resposta de erro; respostas repassadas do upstream podem usar formatos do provedor

    application/json
Request Example for get/v1/beta/twitter/tweet/replies
curl https://openapi.felo.ai/v1/beta/twitter/tweet/replies \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "has_next_page": true,
  "next_cursor": "string",
  "status": "string",
  "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
    }
  ],
  "msg": "string"
}
Get Tweet Replies