Felo API PlatformFelo API Platform
Tất cả endpoint của X
v0.2.0-beta
OpenAPI 3.1.0

Lấy phản hồi tweet

Máy chủ:https://openapi.felo.ai
Thư viện client

Twitter / X

​

Query public users, posts, communities and trends.

Lấy phản hồi tweet

​

Lấy các phản hồi trực tiếp cho một tweet, phân trang bằng cursor. Dùng để đọc thảo luận dưới một bài đăng — cảm xúc, đính chính hoặc câu hỏi tiếp theo. Trả về đối tượng tweet đầy đủ kèm số lượt tương tác. Ưu tiên get_twitter_tweet_replies_v2 khi muốn kiểm soát thứ tự (Liên quan, Mới nhất hoặc Lượt thích); endpoint v1 này chỉ trả về thứ tự mặc định. Để lần ngược cuộc hội thoại lên gốc thay vì xuống dưới, dùng get_twitter_tweet_thread_context.

Tham chiếu giá

  • Đo lường: Số lượng kết quả được đo lường.
  • Ước tính tham chiếu cho mỗi yêu cầu: USD 0.01335.
  • Cơ sở chi phí tối thiểu: USD 0.00015.
  • Hệ số khách hàng tham chiếu: 1.0. Không áp dụng lại cho số tiền khách hàng đã quyết toán.
  • Cơ sở chi phí không xác lập giá cuối cùng cho khách hàng, kể cả khi bằng 0.

Chỉ là siêu dữ liệu tham chiếu, không phải báo giá cho tài khoản, mức giá được bảo đảm hay hạn mức chi tiêu. Tín dụng tài nguyên không phải tín dụng Felo. Khoản phí cuối cùng tuân theo bản ghi thanh toán của Felo.

Tham số truy vấn
  • cursor
    Kiểu: string
  • tweetId
    Kiểu: string
Phản hồi
  • 200
    Kiểu: object

    Phản hồi thành công

    • has_next_page
      Kiểu: boolean
    • msg
      Kiểu: string
    • next_cursor
      Kiểu: string
    • status
      Kiểu: string
    • tweets
      Kiểu: array object[] · ResponseD824635D04Cf_Tweet[]

      Mảng các tweet trả lời.

      • author
        Kiểu: object · ResponseD824635D04Cf_User
        • automatedBy
          Kiểu: string
        • canDm
          Kiểu: boolean
        • coverPicture
          Kiểu: string
        • createdAt
          Kiểu: string
        • description
          Kiểu: string
        • favouritesCount
          Kiểu: integer

          Integer numbers.

        • followers
          Kiểu: integer

          Integer numbers.

        • following
          Kiểu: integer

          Integer numbers.

        • hasCustomTimelines
          Kiểu: boolean
        • id
          Kiểu: string
        • isAutomated
          Kiểu: boolean
        • isBlueVerified
          Kiểu: boolean
        • isTranslator
          Kiểu: boolean
        • location
          Kiểu: string
        • mediaCount
          Kiểu: integer

          Integer numbers.

        • message
          Kiểu: string
        • name
          Kiểu: string
        • pinnedTweetIds
          Kiểu: array string[]
        • possiblySensitive
          Kiểu: boolean
        • profilePicture
          Kiểu: string
        • statusesCount
          Kiểu: integer

          Integer numbers.

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

        Integer numbers.

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

        Integer numbers.

      • quoteCount
        Kiểu: integer

        Integer numbers.

      • quoted_tweet
        Kiểu: string
      • replyCount
        Kiểu: integer

        Integer numbers.

      • retweetCount
        Kiểu: integer

        Integer numbers.

      • retweeted_tweet
        Kiểu: string
      • source
        Kiểu: string
      • text
        Kiểu: string
      • type
        Kiểu: string
      • url
        Kiểu: string
      • viewCount
        Kiểu: integer

        Integer numbers.

    application/json
  • 400

    Không thể xử lý yêu cầu. Hãy kiểm tra các tham số yêu cầu.

  • 401

    Cần có khóa API Felo hợp lệ.

  • 402

    Không thể tiếp tục yêu cầu vì chưa đáp ứng yêu cầu thanh toán.

  • 403

    Tài khoản không được phép thực hiện thao tác này.

  • 429

    Đã đạt giới hạn yêu cầu hoặc giới hạn chi tiêu.

  • 502

    Dịch vụ không thể hoàn tất yêu cầu.

  • 503

    API hoặc dịch vụ thanh toán tạm thời không khả dụng.

  • 504

    Dịch vụ đã hết thời gian chờ khi xử lý yêu cầu.

  • default

    Phản hồi lỗi; phản hồi chuyển tiếp từ thượng nguồn có thể dùng định dạng của nhà cung cấp

    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