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

    Interface ReelsViewerEventFacts

    The facts one reel in the Reels viewer carries into its events: the reel's own answer facts and the viewer session it is shown in. Every field is read from state and answers, never invented — the tokens are the answer's own opaque strings (absent when the answer names none), the author and the taken time are the media's, and the index is the reel's place in the viewer.

    interface ReelsViewerEventFacts {
        authorPk: string;
        chainingSessionId?: string;
        delivery: "head" | "tail";
        index: number;
        mediaPk: string;
        mediaType: number;
        module: string;
        navChain: string;
        rankingInfoToken?: string;
        takenAt?: number;
        trackingToken?: string;
        viewerInitCompoundKey: string;
        viewerSessionId: string;
    }
    Index

    Properties

    authorPk: string

    The media's author pk.

    chainingSessionId?: string

    The viewer's chaining session id; absent only for a process the viewer never opened.

    delivery: "head" | "tail"

    Which page of the stream delivered the reel: the viewer's first (head) or a later one (tail).

    index: number

    The reel's index in the viewer (the events' media_index, m_ix).

    mediaPk: string

    The media's numeric pk.

    mediaType: number

    The media's type (2 for a clip).

    module: string

    The viewer's module (clips_viewer_clips_tab, clips_viewer_clips_profile, clips_viewer_reel).

    navChain: string

    The viewer's navigation chain (header form), '' while the wire renders none.

    rankingInfoToken?: string

    The media's logging info token (the events' ranking_info_token), when the answer carries one.

    takenAt?: number

    The media's taken time, when the answer carries it.

    trackingToken?: string

    The media's organic tracking token, when the answer carries one.

    viewerInitCompoundKey: string

    The compound key of the reel the viewer opened on (viewer_init_media_compound_key).

    viewerSessionId: string

    The viewer session's id: the session every event of the visit names.