igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Interface ReelsViewerCursor

    The viewer's cursor: the reel it opens on, the list it opens on, and the next page.

    interface ReelsViewerCursor {
        initial?: {
            code: string;
            id: string;
            media_type: number;
            organic_tracking_token?: string;
            pk: string;
            taken_at?: number;
            user?: { id?: string; pk?: string };
            video_duration?: number;
        };
        list?: readonly {
            code: string;
            id: string;
            media_type: number;
            organic_tracking_token?: string;
            pk: string;
            taken_at?: number;
            user?: { id?: string; pk?: string };
            video_duration?: number;
        }[];
        listIndex?: number;
        maxId?: string;
    }
    Index

    Properties

    initial?: {
        code: string;
        id: string;
        media_type: number;
        organic_tracking_token?: string;
        pk: string;
        taken_at?: number;
        user?: { id?: string; pk?: string };
        video_duration?: number;
    }

    The reel the viewer opens on (a feed's open() or a link); absent on the tab entry.

    Type Declaration

    • Readonlycode: string

      The media's shortcode, the item's identity key.

    • Readonlyid: string

      Container media id (<pk>_<authorPk>).

    • Readonlymedia_type: number
    • Optional Readonlyorganic_tracking_token?: string
    • Readonlypk: string

      The media's numeric pk.

    • Optional Readonlytaken_at?: number
    • Optional Readonlyuser?: { id?: string; pk?: string }
    • Optional Readonlyvideo_duration?: number

      The clip's length in seconds, when the answer carries it.

    list?: readonly {
        code: string;
        id: string;
        media_type: number;
        organic_tracking_token?: string;
        pk: string;
        taken_at?: number;
        user?: { id?: string; pk?: string };
        video_duration?: number;
    }[]

    The reels a list entry opens on (the profile's Reels tab): the first page, from listIndex forward, each with its chaining facts.

    listIndex?: number

    The tapped reel's index in the list entry's list.

    maxId?: string

    The cursor the next page is requested with; absent on the first page.