Felo API PlatformFelo API Platform
Všechny endpointy X
v0.2.0-beta
OpenAPI 3.1.0

Získat článek

Server:https://openapi.felo.ai
Klientské knihovny

Twitter / X

​

Query public users, posts, communities and trends.

Twitter / X Operace

Získat článek

​

Získává plné tělo článku X (dlouhého příspěvku) podle ID jeho tweatu. Použijte, když tweet odkazuje na článek nebo je článkem a náhled o 280 znacích nestačí — vrací úplný text místo zkráceného tweatu. Článek se vrací v article. Pro běžné tweety použijte get_twitter_tweets.

Cenová reference

  • Účtování: pevná nákladová základna za úspěšný požadavek.
  • Referenční odhad požadavku: USD 0.001.
  • Referenční multiplikátor zákazníka: 1.0. Neaplikujte jej znovu na zúčtovanou částku zákazníka.

Pouze referenční metadata, nikoli nabídka pro účet, garantovaná cena či limit utrácení. Kredity prostředků nejsou kredity Felo. Konečné účtování se řídí fakturačními záznamy Felo.

Parametry dotazu
  • tweet_id
    Typ: string
Odpovědi
  • 200
    Typ: object · ResponseCbc4F8806E32_ArticleResponse

    Úspěšná odpověď

    • 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
      hodnoty
      • success
      • failed
    application/json
  • 400

    Požadavek se nepodařilo zpracovat. Zkontrolujte parametry požadavku.

  • 401

    Je vyžadován platný API klíč Felo.

  • 402

    V požadavku nelze pokračovat, protože není splněn požadavek na fakturaci.

  • 403

    Účet nemá oprávnění tuto operaci provést.

  • 429

    Byl dosažen limit požadavků nebo útraty.

  • 502

    Služba nemohla požadavek dokončit.

  • 503

    API nebo fakturační služba je dočasně nedostupná.

  • 504

    Při zpracování požadavku vypršel časový limit služby.

  • default

    Chybová odpověď; odpovědi předávané přímo od upstream poskytovatele mohou používat formáty poskytovatele

    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