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

    Variable EditProfileAddLinkScreenConst

    EditProfileAddLinkScreen: ScreenDefinition<
        "EditProfileAddLink",
        "screen",
        undefined,
        {},
        Record<never, never>,

            | IgCheckpointError
            | IgAccountSuspendedError
            | IgAccountDisabledError
            | IgLoginRequiredError
            | IgUserLoggedOutError,
        GraphqlJsonHttp
        | MobileApplication
        | MobileNavigation,
        {
            addLink: (
                self: ScreenHandle,
                state: State,
            ) => (
                ...args: [url: string, title: string],
            ) => Effect<
                CurrentUserResponseUser & { raw: ActionRaw },

                    | IgApiError
                    | RequestError
                    | ParseError
                    | TransportError
                    | ScreenEnterConcurrentError,
                | PlainJsonApiHttp
                | Signature
                | MobileSession
                | MobileDevice
                | GraphqlJsonHttp
                | MobileApplication
                | MobileNavigation
                | ScreenStack,
            >;
        },
        Record<never, never>,
        never,
        never,
    > = ...

    MultipleLinksEditFragment, the form that adds a link to the profile (edit_profile_links_list_edit, Android 451), opened from the links list's Add link row. The form's fields are typed by the person; the screen opens empty and shows nothing else.

    Actions: addLink(url, title) sends the profile's links with the new link as the only element (accounts/update_bio_links/, link_type: external) and answers the updated user the server returns (external_url, bio_links). There is no precheck: the form sends one request, on Done.

    Gap: only adding the first link is modelled. Editing or removing an existing link, and adding a link beside existing ones (the request carries the whole list in updated_links), are not modelled.

    How it is reached: EditProfileLinksScreen.addLink(), the MultipleLinksEditFragment:edit_profile_links_list_edit:6:button entry.

    No screenshot: the library renders no UI.

    Guide: Profiles