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

    Interface FeedMediaContext

    What the acted-on feed media carries from the feed answer.

    interface FeedMediaContext {
        carousel?: {
            children: readonly string[];
            size?: number;
            slide?: number;
        };
        feedPosition?: string
        | number;
        loggingInfoToken?: string;
        mediaId: string;
        startingClipsMediaId?: string;
    }
    Index

    Properties

    carousel?: { children: readonly string[]; size?: number; slide?: number }

    The carousel's children (container ids), count and the slide in front, when the media is a carousel.

    feedPosition?: string | number

    The item's position in the feed page (feed_position).

    loggingInfoToken?: string

    The feed's logging token on the media (logging_info_token), echoed by the like and the note.

    mediaId: string

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

    startingClipsMediaId?: string

    The clip the contextual feed was entered from (the media's pk), only on the contextual feed's like — android-451/media-like 115. The timeline and a post opened from a link carry none; the screen that knows the surface supplies it.