Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Get Tweet Replies V2

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

Twitter / X

​

Query public users, posts, communities and trends.

Get Tweet Replies V2

​

Get replies to a tweet with control over sort order — Relevance (default), Latest, or Likes — 20 per page, cursor-paginated. Use this instead of get_twitter_tweet_replies whenever ordering matters: Likes surfaces the community's top responses, Latest gives a live view of an unfolding thread. Returns full tweet objects with engagement counts.

查詢參數
  • tweetId
    類型: string
    必填

    The tweet ID to get replies for. e.g. 1846987139428634858

  • cursor
    類型: string

    Cursor for paginating through results. Leave empty for the first page.

  • queryType
    類型: string 列舉

    Sort order for replies. Default is Relevance.

    值
    • Relevance
    • Latest
    • Likes
回應
  • 200
    類型: object

    Tweet replies response

    • has_next_page
      類型: boolean

      Indicates if there are more results available

    • msg
      類型: string

      Error message if status is error.

    • next_cursor
      類型: string

      Cursor for fetching the next page of results

    • status
      類型: string 列舉

      Status of the request

      值
      • success
      • error
    • tweets
      類型: array object[] · Tweet[]

      Array of reply tweets.

      • author
        類型: object · 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
        • profile_bio
          類型: object
          • description
            類型: string
          • entities
            類型: object
            • description
              類型: object
              • urls
                類型: array object[]
                • display_url
                  類型: string
                • expanded_url
                  類型: string
                • indices
                  類型: array integer[]
                • url
                  類型: string
            • url
              類型: object
              • urls
                類型: array object[]
                • display_url
                  類型: string
                • expanded_url
                  類型: string
                • indices
                  類型: array integer[]
                • url
                  類型: string
        • 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

    The request could not be processed. Check the request parameters.

  • 401

    A valid Felo API key is required.

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    A request or spending limit has been reached.

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for get/v1/beta/twitter/tweet/replies/v2
curl 'https://openapi.felo.ai/v1/beta/twitter/tweet/replies/v2?tweetId=' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "has_next_page": true,
  "next_cursor": "string",
  "status": "success",
  "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",
        "profile_bio": {
          "description": "string",
          "entities": {
            "description": {
              "urls": [
                {
                  "display_url": "string",
                  "expanded_url": "string",
                  "indices": [
                    1
                  ],
                  "url": "string"
                }
              ]
            },
            "url": {
              "urls": [
                {
                  "display_url": "string",
                  "expanded_url": "string",
                  "indices": [
                    1
                  ],
                  "url": "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 V2