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

Získat tweety podle ID

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

Twitter / X

​

Query public users, posts, communities and trends.

Twitter / X Operace

Získat tweety podle ID

​

Načítá úplný obsah konkrétních tweetů, když už znáte jejich číselná ID tweetů (přijímá více ID v jednom volání). Použijte k rozbalení ID získaných z vyhledávání, časových os nebo odpovědí na úplné objekty. Vrací text, autora, zdrojového klienta, jazyk, čas vytvoření a počty zapojení (lajky, retweety, odpovědi, citace, záložky, zobrazení). Pokud ID ještě nemáte, začněte s get_twitter_tweet_advanced_search.

Cenová reference

  • Účtování: počet měřených výsledků.
  • Referenční odhad požadavku: USD 0.0075.
  • Minimální nákladová základna: USD 0.00015.
  • Referenční multiplikátor zákazníka: 1.0. Neaplikujte jej znovu na zúčtovanou částku zákazníka.
  • Nákladové základny neurčují konečnou cenu pro zákazníka, a to ani když jsou nulové.

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_ids
    Typ: string
Odpovědi
  • 200
    Typ: object

    Úspěšná odpověď

    • code
      Typ: integer

      Integer numbers.

    • msg
      Typ: string
    • status
      Typ: string
    • tweets
      Typ: array object[] · ResponseD824635D04Cf_Tweet[]
      • author
        Typ: object · ResponseD824635D04Cf_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[]
      • 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

    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/tweets
curl https://openapi.felo.ai/v1/beta/twitter/tweets \
  --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"
          }
        ]
      },
      "quoted_tweet": "string",
      "retweeted_tweet": "string",
      "isLimitedReply": true
    }
  ],
  "status": "string",
  "msg": "string",
  "code": 1
}
Get Tweets by IDs