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

    Function mediaInfoAnswerOf

    • The one parser of a media info answer: the media's id and tracking token and, for a carousel, its children as container ids (<childPk>_<authorPk>) with the count the answer names. undefined when the answer holds no media. A media whose carousel_media_ids is empty is no carousel.

      Parameters

      Returns
          | {
              carousel?: { children: readonly string[]; size?: number };
              mediaId: string;
              trackingToken: string;
          }
          | undefined

      • {
            carousel?: { children: readonly string[]; size?: number };
            mediaId: string;
            trackingToken: string;
        }
        • Optional Readonlycarousel?: { children: readonly string[]; size?: number }

          The carousel's children; absent when the media holds none (an empty list included).

        • ReadonlymediaId: string

          The media's container id (<pk>_<authorPk>), as the answer spells it.

        • ReadonlytrackingToken: string

          organic_tracking_token: the note's tracking_token.

      • undefined