Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 3.77 KB

File metadata and controls

30 lines (25 loc) · 3.77 KB

UserTimelinePageResponse

Example Usage

import { UserTimelinePageResponse } from "@twexapi-dev/x-api-scraper/models";

let value: UserTimelinePageResponse = {
  data: [],
  hasNextPage: false,
  nextCursor:
    "DAAHCgABHFeD5h9__-cLAAIAAAATMjAzODIzMzA5NTM4ODY4MDU5NAgAAwAAAAIAAA",
  requestedCount: 14473,
  effectiveCount: 481878,
  parsedCount: 747377,
};

Fields

Field Type Required Description Example
code number HTTP status code
msg string Response message
data models.UserTweetItem[] ✔️ Current page tweet items.
hasNextPage boolean ✔️ Whether another page is available.
nextCursor string Use this cursor to fetch the next page when has_next_page is true. DAAHCgABHFeD5h9__-cLAAIAAAATMjAzODIzMzA5NTM4ODY4MDU5NAgAAwAAAAIAAA
requestedCount number ✔️ Original count requested by the client.
effectiveCount number ✔️ Count after credit throttling was applied.
parsedCount number ✔️ Number of tweets actually parsed from the response.