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

    Function TwoFactorBloksGetMethods

    • Calls two_step_verification.method_picker (the "Try another way" screen) and extracts available 2FA methods from the bloks response.

      A data fetch only: it does not navigate. Login also calls it to discover methods when the app never shows the picker; the flow that does show it (the user tapped "Try another way") emits the screen change.

      Returns Effect<
          {
              methods: (
                  | "approve_from_another_device"
                  | "whatsapp"
                  | "totp"
                  | "sms"
                  | "backup_codes"
              )[];
              pollQpl: TwoFactorBloksQpl
              | undefined;
              preselectedMethod:
                  | "approve_from_another_device"
                  | "whatsapp"
                  | "totp"
                  | "sms"
                  | "backup_codes"
                  | undefined;
              response: Bloks.BloksResponse;
              selectQpl: TwoFactorBloksQpl
              | undefined;
          },
          BloksHttpError,
          MobileDevice
          | MobileApplication
          | BloksHttp
          | MobileDisplayScaleWire,
      >