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

Obter tweets da comunidade

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

Twitter / X

​

Query public users, posts, communities and trends.

Obter tweets da comunidade

​

Obtém posts publicados dentro de uma X Community específica, com paginação por cursor. Use para ler o que uma comunidade conhecida está discutindo de fato. Retorna objetos completos de tweet com contagens de engajamento. Se você não souber qual comunidade observar, pesquise em todas com get_twitter_community_tweets_all.

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
  • community_id
    Tipo: string
    obrigatório

    ID da comunidade

  • cursor
    Tipo: string

    Cursor de paginação

Respostas
  • 200
    Tipo: object

    Resposta de tweets da comunidade

    • has_next
      Tipo: boolean
    • has_next_page
      Tipo: boolean
    • msg
      Tipo: string
    • next_cursor
      Tipo: string
    • status
      Tipo: string enum
      valores
      • success
      • error
    • tweets
      Tipo: array object[] · Response8D25370A403A_Tweet[]
      • author
        Tipo: object · Response8D25370A403A_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
        • profile_bio
          Tipo: object
          • description
            Tipo: string
          • entities
            Tipo: object
            • description
              Tipo: object
              • urls
                Tipo: array object[]
                • display_url
                  Tipo: string
                • expanded_url
                  Tipo: string
                • indices
                  Tipo: array integer[]
                • url
                  Tipo: string
            • url
              Tipo: object
              • urls
                Tipo: array object[]
                • display_url
                  Tipo: string
                • expanded_url
                  Tipo: string
                • indices
                  Tipo: array integer[]
                • url
                  Tipo: string
        • 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/community/tweets
curl 'https://openapi.felo.ai/v1/beta/twitter/community/tweets?community_id=' \
  --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",
        "profile_bio": {
          "description": "string",
          "entities": {
            "description": {
              "urls": [
                {
                  "display_url": "string",
                  "expanded_url": "string",
                  "indices": [
                    1
                  ],
                  "url": "string"
                }
              ]
            },
            "url": {
              "urls": [
                {
                  "display_url": "string",
                  "expanded_url": "string",
                  "indices": [
                    1
                  ],
                  "url": "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
    }
  ],
  "has_next_page": true,
  "next_cursor": "string",
  "has_next": true,
  "status": "success",
  "msg": "string"
}
Get Community Tweets