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

    Variable PostOpenedFromLinkInputSchemaConst

    PostOpenedFromLinkInputSchema: Struct<
        {
            feedPosition: optionalKey<Union<readonly [Number, String]>>;
            loggingInfoToken: optionalKey<String>;
            mediaId: String;
        },
    > = ...

    What a post is opened with: the media it shows and the feed context the answer gave for it. The feed's media carries its logging token (logging_info_token) and the page gives the item's position, so the post's like and note send what the app sends without the caller supplying it; a post opened from a link passes none of them.