Skip to content

Latest commit

 

History

History

registration

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Registration Flow

Insomniac gives the possibility to create Instagram accounts automatically. This can be done via --register registration/users.txt argument. Insomniac will do the following:

  1. Open the app and press "Create New Account" (please make sure you've set English language on your phone)
  2. Fill in a phone number and a confirmation code using one of three methods from api.py. Default method is just to request phone number and confirmation code via user input in Terminal. But it doesn't make sense since we're doing automation, so there also are implementations via smspva.com and via sms-activate.ru APIs. Note that these services are paid, so you'll have to rent numbers for Instagram and then edit api.py accordingly (enter your API key, country code, and uncomment one of the methods at the end of the file).
  3. Fill in Full Name, Password, and Username taken from users.txt. You can put any amount of users there. Registered users' rows will be marked as DONE. Just run the script with --repeat 0 to register all users from users.txt one by one without a delay.
  4. Finish registration and skip all suggested users to follow.
  5. Log Out.

You can watch the record of the whole process in this video: https://www.youtube.com/watch?v=Zgv8wN7X7mM

So, how to get started with the registration flow?

  1. Activate Insomniac, since --register is an extra feature.
  2. Download the whole Insomniac project, because it's the only way to download the "registration" folder. You have to put "registration" folder in the same folder where start.py is.
  3. Change your device language to English.
  4. Edit api.py according to your needs:
    • To enter phone number and confirmation codes manually – do nothing.
    • To use smspva.com API – put your key into SMSPVA_API_KEY, put your country code into SMSPVA_COUNTRY_CODE, set get_phone_number = _get_phone_number_smspva and get_confirmation_code = _get_confirmation_code_smspva.
    • To use sms-activate.ru API – put your key into SMS_ACTIVATE_API_KEY, put your country code into SMS_ACTIVATE_COUNTRY_CODE, set get_phone_number = _get_phone_number_sms_activate and get_confirmation_code = _get_confirmation_code_sms_activate.
    • To use any other API – write your own implementation for get_phone_number and get_confirmation_code.
  5. Put full names, passwords and usernames of your future users into users.txt.