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

Pobierz artykuł

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

Twitter / X

​

Query public users, posts, communities and trends.

Twitter / X Operacje

Pobierz artykuł

​

Pobiera pełną treść artykułu X (długiego wpisu) na podstawie jego identyfikatora tweeta. Używaj, gdy tweet linkuje do artykułu lub sam jest artykułem, a podgląd 280 znaków nie wystarcza — zwracany jest pełny tekst zamiast skróconego tweeta. Artykuł jest zwracany w article. W przypadku zwykłych tweetów użyj get_twitter_tweets.

Cennik referencyjny

  • Rozliczanie: stała podstawa kosztu za udane żądanie.
  • Szacunek referencyjny dla żądania: USD 0.001.
  • Referencyjny mnożnik klienta: 1.0. Nie stosuj go ponownie do rozliczonej kwoty klienta.

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
  • tweet_id
    Typ: string
Odpowiedzi
  • 200
    Typ: object · ResponseCbc4F8806E32_ArticleResponse

    Pomyślna odpowiedź

    • article
      Typ: object · ResponseCbc4F8806E32_Article
      • author
        Typ: object · ResponseCbc4F8806E32_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
        • 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[]
      • contents
        Typ: array object[]
        • text
          Typ: string
      • cover_media_img_url
        Typ: string
      • createdAt
        Typ: string
      • likeCount
        Typ: integer

        Integer numbers.

      • preview_text
        Typ: string
      • quoteCount
        Typ: integer

        Integer numbers.

      • replyCount
        Typ: integer

        Integer numbers.

      • title
        Typ: string
      • viewCount
        Typ: integer

        Integer numbers.

    • msg
      Typ: string
    • status
      Typ: string enum
      wartości
      • success
      • failed
    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/article
curl https://openapi.felo.ai/v1/beta/twitter/article \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "article": {
    "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"
    },
    "replyCount": 1,
    "likeCount": 1,
    "quoteCount": 1,
    "viewCount": 1,
    "createdAt": "string",
    "title": "string",
    "preview_text": "string",
    "cover_media_img_url": "string",
    "contents": [
      {
        "text": "string"
      }
    ]
  },
  "status": "success",
  "msg": "string"
}
Get Article