Tweets.Replies
- Page - Get Replies by Page
Recommended for fetching tweet replies. Uses cursor-based pagination and avoids timeouts on large threads. The first request (omit next_cursor) returns root_tweet plus the first batch of replies. Pass next_cursor from the previous response to fetch the next page until has_next_page is false. Pricing: $0.10 per 1,000 replies.
using XapiScraper;
using XapiScraper.Models.Components;
using XapiScraper.Models.Requests;
var sdk = new XapiScraperSDK(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
TweetsRepliesPageRequest req = new TweetsRepliesPageRequest() {
TweetId = "1803006263529541838",
Body = new GetRepliesPageQuery() {},
};
var res = await sdk.Tweets.Replies.PageAsync(req);
// handle response
TweetsRepliesPageResponse
| Error Type |
Status Code |
Content Type |
| XapiScraper.Models.Errors.HTTPValidationError |
422 |
application/json |
| XapiScraper.Models.Errors.APIException |
4XX, 5XX |
*/* |