igpapi — Instagram private API Simulator for Node.js (API reference) 4.19.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?: {
            clips_metadata?: { music_info?: {} | null };
            code: string;
            id: string;
            inventory_source?: string;
            logging_info_token?: string;
            media_type: number;
            organic_tracking_token?: string;
            pk: string;
            taken_at?: number;
            user?: {
                friendship_status?: { following?: boolean } | null;
                id?: string;
                pk?: string;
            };
            video_duration?: number;
        };
        list?: readonly {
            clips_metadata?: { music_info?: {}
            | null };
            code: string;
            id: string;
            inventory_source?: string;
            logging_info_token?: string;
            media_type: number;
            organic_tracking_token?: string;
            pk: string;
            taken_at?: number;
            user?: {
                friendship_status?: { following?: boolean } | null;
                id?: string;
                pk?: string;
            };
            video_duration?: number;
        }[];
        listIndex?: number;
        maxId?: string;
        offset?: number;
    }
    Index

    Properties

    initial?: {
        clips_metadata?: { music_info?: {} | null };
        code: string;
        id: string;
        inventory_source?: string;
        logging_info_token?: string;
        media_type: number;
        organic_tracking_token?: string;
        pk: string;
        taken_at?: number;
        user?: {
            friendship_status?: { following?: boolean } | null;
            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

    • Optional Readonlyclips_metadata?: { music_info?: {} | null }

      The clip's clip metadata, read for its licensed music: a reel whose answer names a music_info carries the audio attribution the viewer shows as a pill (reels-tab-watch-ten: the one licensed-music reel the person watched logs the audio link).

    • Readonlycode: string

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

    • Readonlyid: string

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

    • Optional Readonlyinventory_source?: string

      The reel's inventory source, when the stream answer names it (the note echoes it).

    • Optional Readonlylogging_info_token?: string

      The media's opaque logging info token, which the app's telemetry names ranking_info_token and the repost note sends as such.

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

      The media's numeric pk.

    • Optional Readonlytaken_at?: number
    • Optional Readonlyuser?: { friendship_status?: { following?: boolean } | null; id?: string; pk?: string }
      • Optional Readonlyfriendship_status?: { following?: boolean } | null

        The viewer's relationship to the author, as the stream answer names it (friendship_status.following); absent or null when the answer names none, and following absent when it is not named.

      • Optional Readonlyid?: string
      • Optional Readonlypk?: string
    • Optional Readonlyvideo_duration?: number

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

    list?: readonly {
        clips_metadata?: { music_info?: {} | null };
        code: string;
        id: string;
        inventory_source?: string;
        logging_info_token?: string;
        media_type: number;
        organic_tracking_token?: string;
        pk: string;
        taken_at?: number;
        user?: {
            friendship_status?: { following?: boolean } | null;
            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.

    offset?: number

    The position the next page's first reel takes in the viewer; absent on the first page (0).