Insomniac gives the possibility to create Instagram accounts automatically. This can be done via --register registration/users.txt
argument. Insomniac will do the following:
- Open the app and press "Create New Account" (please make sure you've set English language on your phone)
- 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).
- 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. - Finish registration and skip all suggested users to follow.
- 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?
- Activate Insomniac, since
--register
is an extra feature. - 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.
- Change your device language to English.
- 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 intoSMSPVA_COUNTRY_CODE
, setget_phone_number = _get_phone_number_smspva
andget_confirmation_code = _get_confirmation_code_smspva
. - To use sms-activate.ru API – put your key into
SMS_ACTIVATE_API_KEY
, put your country code intoSMS_ACTIVATE_COUNTRY_CODE
, setget_phone_number = _get_phone_number_sms_activate
andget_confirmation_code = _get_confirmation_code_sms_activate
. - To use any other API – write your own implementation for
get_phone_number
andget_confirmation_code
.
- Put full names, passwords and usernames of your future users into users.txt.