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

    Type Alias ProfileState

    ProfileState: ProfileGridHostState & {
        entry?: ProfileReachedFrom["kind"];
        followRankingToken?: string;
        followRequested?: boolean;
        isPrivate: boolean;
        profileSessionId: string;
        rankToken?: string;
        stories: ReadonlyArray<ProfileStory>;
        suggested: ReadonlyArray<SuggestedUser>;
    }

    What continuing from a profile needs: the user a follow sends, the ranking token the edge brought, and the grid facts its tiles read (ProfileGridHostState). Derived again on every retrace and restore from the visit's input and data, never stored.

    Type Declaration

    • Optional Readonlyentry?: ProfileReachedFrom["kind"]

      Where the visit was reached from: the edge the visit's input took.

    • Optional ReadonlyfollowRankingToken?: string
    • Optional ReadonlyfollowRequested?: boolean

      The enter-time friendship answer's pending request (followRequested), when it answered.

    • ReadonlyisPrivate: boolean

      Whether the profile is private: a follow of it requests the user.

    • ReadonlyprofileSessionId: string

      The visit's session id (profile_session_id), from the visit's data.

    • Optional ReadonlyrankToken?: string

      The search result row's rank token, when the visit was reached from the typeahead.

    • Readonlystories: ReadonlyArray<ProfileStory>

      The profile's stories: what its story ring opens the viewer on.

    • Readonlysuggested: ReadonlyArray<SuggestedUser>

      The visit's suggested-users rail (the app does not reload it on a follow).