Felo API PlatformFelo API Platform
全部 X 端點
v0.2.0-beta
OpenAPI 3.1.0

取得推文回覆

伺服器:https://openapi.felo.ai
用戶端程式庫

Twitter / X

​

Query public users, posts, communities and trends.

取得推文回覆

​

取得推文的直接回覆,以游標分頁。用它閱讀貼文下的討論——情緒、更正或後續提問。傳回含互動數的完整推文物件。若要控制排序(相關性、最新或讚數),請優先使用 get_twitter_tweet_replies_v2;此 v1 端點僅傳回預設順序。若要向上追溯對話至根推文,而非向下展開,請使用 get_twitter_tweet_thread_context。

計費參考

  • 計量方式:依結果筆數計量。
  • 參考請求估算:0.01335 美元。
  • 最低成本基礎:0.00015 美元。
  • 參考客戶乘數:1.0。不得再次套用於已結算的客戶金額。
  • 成本基礎不構成最終客戶價格,即使為零亦同。

僅供參考的中繼資料,並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。

查詢參數
  • cursor
    類型: string
  • tweetId
    類型: string
回應
  • 200
    類型: object

    成功回應

    • has_next_page
      類型: boolean
    • msg
      類型: string
    • next_cursor
      類型: string
    • status
      類型: string
    • tweets
      類型: array object[] · ResponseD824635D04Cf_Tweet[]

      回覆推文陣列。

      • author
        類型: object · ResponseD824635D04Cf_User
        • automatedBy
          類型: string
        • canDm
          類型: boolean
        • coverPicture
          類型: string
        • createdAt
          類型: string
        • description
          類型: string
        • favouritesCount
          類型: integer

          Integer numbers.

        • followers
          類型: integer

          Integer numbers.

        • following
          類型: integer

          Integer numbers.

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

          Integer numbers.

        • message
          類型: string
        • name
          類型: string
        • pinnedTweetIds
          類型: array string[]
        • possiblySensitive
          類型: boolean
        • profilePicture
          類型: string
        • statusesCount
          類型: integer

          Integer numbers.

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

        Integer numbers.

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

        Integer numbers.

      • quoteCount
        類型: integer

        Integer numbers.

      • quoted_tweet
        類型: string
      • replyCount
        類型: integer

        Integer numbers.

      • retweetCount
        類型: integer

        Integer numbers.

      • retweeted_tweet
        類型: string
      • source
        類型: string
      • text
        類型: string
      • type
        類型: string
      • url
        類型: string
      • viewCount
        類型: integer

        Integer numbers.

    application/json
  • 400

    無法處理該要求。請檢查請求參數。

  • 401

    需要有效的 Felo API 金鑰。

  • 402

    由於未符合計費要求,要求無法繼續。

  • 403

    該帳戶無權執行此操作。

  • 429

    已達到要求或支出上限。

  • 502

    服務無法完成該要求。

  • 503

    API 或計費服務暫時無法使用。

  • 504

    服務在處理要求時逾時。

  • default

    錯誤回應;上游透傳回應可能採用供應商格式

    application/json
Request Example for get/v1/beta/twitter/tweet/replies
curl https://openapi.felo.ai/v1/beta/twitter/tweet/replies \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "has_next_page": true,
  "next_cursor": "string",
  "status": "string",
  "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
    }
  ],
  "msg": "string"
}
Get Tweet Replies

需要協助嗎?