Felo API PlatformFelo API Platform
Wszystkie endpointy X
v0.2.0-beta
OpenAPI 3.1.0

Wyszukuj tweety we wszystkich społecznościach

Serwer:https://openapi.felo.ai
Biblioteki klienckie

Twitter / X

​

Query public users, posts, communities and trends.

Wyszukuj tweety we wszystkich społecznościach

​

Przeszukuje wpisy we wszystkich społecznościach X według słowa kluczowego, sortując według Latest (domyślnie) lub Top, z paginacją kursorową. Używaj, aby znaleźć dyskusje tematyczne toczące się w społecznościach, a nie na publicznej osi czasu — gęstość sygnału jest zwykle wyższa, a szumu mniej. Zwraca pełne obiekty tweetów. Gdy zidentyfikujesz społeczność wartą obserwowania, użyj get_twitter_community_tweets, aby czytać ją bezpośrednio, lub get_twitter_community_info, aby pobrać jej metadane. Do wyszukiwania na publicznej osi czasu użyj get_twitter_tweet_advanced_search.

Cennik referencyjny

  • Rozliczanie: liczba naliczonych wyników.
  • Szacunek referencyjny dla żądania: USD 0.003.
  • Minimalna podstawa kosztu: USD 0.00015.
  • Referencyjny mnożnik klienta: 1.0. Nie stosuj go ponownie do rozliczonej kwoty klienta.
  • Podstawy kosztu nie ustalają ostatecznej ceny dla klienta, również gdy wynoszą zero.

Wyłącznie metadane referencyjne, a nie wycena konta, gwarantowana cena lub limit wydatków. Kredyty zasobów nie są kredytami Felo. Ostateczne obciążenia są zgodne z zapisami rozliczeniowymi Felo.

Parametry zapytania
  • cursor
    Typ: string

    Kursor paginacji

  • query
    Typ: string
    wymagane

    Zapytanie wyszukiwania (np. słowo kluczowe)

  • queryType
    Typ: string enum
    wymagane

    Typ zapytania (Latest lub Top)

    wartości
    • Latest
    • Top
Odpowiedzi
  • 200
    Typ: object

    Odpowiedź z tweetami

    • has_next_page
      Typ: boolean
    • next_cursor
      Typ: string
    • tweets
      Typ: array object[] · Response8D25370A403A_Tweet[]
      • author
        Typ: object · Response8D25370A403A_User
        • automatedBy
          Typ: string
        • canDm
          Typ: boolean
        • coverPicture
          Typ: string
        • createdAt
          Typ: string
        • description
          Typ: string
        • favouritesCount
          Typ: integer

          Integer numbers.

        • followers
          Typ: integer

          Integer numbers.

        • following
          Typ: integer

          Integer numbers.

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

          Integer numbers.

        • message
          Typ: string
        • name
          Typ: string
        • pinnedTweetIds
          Typ: array string[]
        • possiblySensitive
          Typ: boolean
        • profile_bio
          Typ: object
          • description
            Typ: string
          • entities
            Typ: object
            • description
              Typ: object
              • urls
                Typ: array object[]
                • display_url
                  Typ: string
                • expanded_url
                  Typ: string
                • indices
                  Typ: array integer[]
                • url
                  Typ: string
            • url
              Typ: object
              • urls
                Typ: array object[]
                • display_url
                  Typ: string
                • expanded_url
                  Typ: string
                • indices
                  Typ: array integer[]
                • url
                  Typ: string
        • profilePicture
          Typ: string
        • statusesCount
          Typ: integer

          Integer numbers.

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

        Integer numbers.

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

        Integer numbers.

      • quoteCount
        Typ: integer

        Integer numbers.

      • quoted_tweet
        Typ: string
      • replyCount
        Typ: integer

        Integer numbers.

      • retweetCount
        Typ: integer

        Integer numbers.

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

        Integer numbers.

    application/json
  • 400

    Nie można przetworzyć żądania. Sprawdź parametry żądania.

  • 401

    Wymagany jest prawidłowy klucz API Felo.

  • 402

    Nie można kontynuować żądania, ponieważ nie spełniono wymogu rozliczeniowego.

  • 403

    Konto nie ma uprawnień do wykonania tej operacji.

  • 429

    Osiągnięto limit żądań lub wydatków.

  • 502

    Usługa nie mogła ukończyć żądania.

  • 503

    API lub usługa rozliczeniowa jest tymczasowo niedostępna.

  • 504

    Upłynął limit czasu usługi podczas przetwarzania żądania.

  • default

    Odpowiedź błędu; odpowiedzi przekazywane bezpośrednio od dostawcy upstream mogą używać formatów dostawcy

    application/json
Request Example for get/v1/beta/twitter/community/get_tweets_from_all_community
curl 'https://openapi.felo.ai/v1/beta/twitter/community/get_tweets_from_all_community?query=&queryType=Latest' \
  --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"
}
Search Tweets From All Communities