IGPAPI
    Preparing search index...

    Interface MediaLikeInput

    interface MediaLikeInput {
        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;
        container_module?: MobileNavModule;
        delivery_class?: string;
        doubleTap?: boolean;
        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;
        method?: MediaLikeMethod;
        mezql_token?: string;
        nav_chain?: string;
        surface?: MediaLikeSurface;
        tap_source?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    carousel_index?: string | number

    Carousel child index (carousel media only).

    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).

    container_module?: MobileNavModule

    Analytics module of the screen in front (container_module).

    delivery_class?: string

    delivery_class; defaults to organic.

    doubleTap?: boolean

    REST only: the like was a double tap (d=1).

    feed_position?: string | number

    Feed position of the acted-on item; defaults to 0.

    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

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

    media_pct_watched?: string | number

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

    Wire method: rest (default) posts to api/v1/media/<id>/like/; graphql posts LikeMutation to graphql_www. The Android 450 app uses REST from the feed and reels viewer and the GraphQL mutation from the reels viewer and the newer short-url-feed flow.

    mezql_token?: string

    Feed item mezql_token (empty when absent).

    nav_chain?: string

    Rendered navigation chain; overrides the legacy session chain when set.

    Surface the like is tapped on; defaults to feed.

    tap_source?: string