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

    Interface MediaImpressionInput

    interface MediaImpressionInput {
        carousel_index?: string | number;
        carousel_media_id?: string;
        carousel_size?: string | number;
        chaining_position?: string | number;
        chaining_seed_media_id?: string;
        chaining_session_id?: string;
        comment_bubble_user_ids?: string;
        delivery_class?: string;
        feed_position?: string | number;
        floating_context_items?: string;
        inventory_source?: string;
        is_2m_enabled?: string | boolean;
        is_carousel_ad?: string | boolean;
        is_carousel_bumped_post?: boolean;
        is_from_swipe?: string | boolean;
        like_bubble_user_ids?: string;
        logging_info_token?: string;
        media_id: string;
        media_pct_watched?: string | number;
        mezql_token?: string;
        surface?: "feed" | "reels";
        tap_source?: string;
    }
    Index

    Properties

    carousel_index?: string | number
    carousel_media_id?: string

    Carousel child pk the like applies to (media info carousel_media_ids[index], no author suffix).

    carousel_size?: string | number

    Number of carousel children (media info carousel_media_count).

    chaining_position?: string | number

    Reels: zero-based position in the chaining session.

    chaining_seed_media_id?: string

    Reels: seed media id of the chaining session the reel was opened from.

    chaining_session_id?: string

    Reels: opaque chaining-session id.

    comment_bubble_user_ids?: string

    Reels: ids of the comment bubbles already shown ("" when there are none).

    delivery_class?: string
    feed_position?: string | number
    floating_context_items?: string

    Serialized floating-context items ("[]" when there are none).

    inventory_source?: string

    Feed inventory source of the acted-on item; defaults to FEED_LIKE_INVENTORY_SOURCE on the feed surface.

    is_2m_enabled?: string | boolean
    is_carousel_ad?: string | boolean

    Optionalis_carousel_bumped_post

    is_carousel_bumped_post?: boolean
    is_from_swipe?: string | boolean
    like_bubble_user_ids?: string
    logging_info_token?: string

    Feed logging token (ranking_info_token on the note surface).

    media_id: string
    media_pct_watched?: string | number

    Reels: fraction of the clip watched before the like (0.0–1.0).

    mezql_token?: string

    Feed item mezql_token (empty when absent).

    surface?: "feed" | "reels"

    Surface the like is tapped on; defaults to feed. The REST body has the contextual feed's and the reels viewer's layouts only: the home timeline's carousel-child like is the GraphQL build's 'timeline' layout (MediaLikeGraphqlInput) and the app has no REST form of it, so 'timeline' cannot be named here and fall back to the feed's body.

    tap_source?: string