logo bannerlogo banner
Page Navigator

To normally login, use bot.login:

bot.login('email@gmail.com', 'password');

Very simple.

Creating an Account

Note that per hour, you can only generate 100 of these.

bot.createAccount('email2000@gmail.com', 'password2000');

You may then want to send the verification email:

await bot.api.sendVerificationEmail();

Then, access the inbox and find the email. It should have a link that looks like this:

https://shellshockio-181719.firebaseapp.com/__/auth/action?mode=verifyEmail&oobCode=CEfdkqiUZfj33zVGup0-uopI8raf7fHEDv8VUXO6i68BAAGXcP597R&apiKey=AIzaSyDP4SIjKaw6A4c-zvfYxICpbEjn1rRnN50&lang=en

You need to extract the oobCode, which is best done by:

const url = 'https://shellshockio-181719.firebaseapp.com/__/auth/action?mode=verifyEmail&oobCode=CEfdkqiUZfj33zVGup0-uopI8raf7fHEDv8VUXO6i68BAAGXcP597R&apiKey=AIzaSyDP4SIjKaw6A4c-zvfYxICpbEjn1rRnN50&lang=en';

const oobCode = new URL(url).searchParams.get('oobCode');

Thenm pass this oob code to verifyOobCode:

await bot.api.verifyOobCode(oobCode);