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

Obter menções do usuário

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

Twitter / X

​

Query public users, posts, communities and trends.

Twitter / X Operações

Obter menções do usuário

​

Recupera menções públicas usando userName. Este contrato não declara entradas de janela de tempo nem de cursor de paginação.

Referência de preços

  • Medição: contagem de resultados medidos.
  • Estimativa de referência por requisição: USD 0.003.
  • 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
  • userName
    Tipo: string
Respostas
  • 200
    Tipo: object · Response078307E096De_UserMentionsResponse

    Resposta bem-sucedida

    • code
      Tipo: integer

      Integer numbers.

    • has_next_page
      Tipo: boolean
    • msg
      Tipo: string
    • next_cursor
      Tipo: string
    • status
      Tipo: string enum
      valores
      • success
      • error
    • tweets
      Tipo: array object[] · Response078307E096De_Tweet[]
      • author
        Tipo: object · Response078307E096De_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
      • isReply
        Tipo: boolean
      • lang
        Tipo: string
      • likeCount
        Tipo: integer

        Integer numbers.

      • quoteCount
        Tipo: integer

        Integer numbers.

      • replyCount
        Tipo: integer

        Integer numbers.

      • retweetCount
        Tipo: integer

        Integer numbers.

      • 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/user/mentions
curl https://openapi.felo.ai/v1/beta/twitter/user/mentions \
  --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"
          }
        ]
      }
    }
  ],
  "has_next_page": true,
  "next_cursor": "string",
  "status": "success",
  "msg": "string",
  "code": 1
}
Get User Mentions