Interface AccountLoginCommandInput

interface AccountLoginCommandInput {
    endpoint?: "/api/v1/web/accounts/login/ajax/" | "/api/v1/accounts/login/";
    password?: string;
    username?: string;
}

Properties

endpoint?: "/api/v1/web/accounts/login/ajax/" | "/api/v1/accounts/login/"

In case you have problems with the native login flow – you can switch to web one

/api/v1/accounts/login/
password?: string

Takes process.env.IG_PASSWORD by default

username?: string

Takes process.env.IG_USERNAME by default