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

    Function mediaContainerOf

    • A media's container id (<pk>_<authorPk>): its two halves, one parser for every screen that names a media by one or the other. The pk is the part before the first _, the author the part after it; a string without _ is its own pk and has no author.

      Parameters

      • mediaId: string

      Returns { author: string | undefined; pk: string }