Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexal1 authored Jun 24, 2021
1 parent 2b3d114 commit 6cf9d48
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions registration/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## 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 **create new identity** if you're using a clone via [appcloner.app](https://appcloner.app), or just clear app data if you're not.
2. Fill in a **phone number and a confirmation code** using two appropriate methods from [api.py](https://github.com/alexal1/Insomniac/blob/master/registration/api.py). Default methods are just requesting phone numbers and confirmation codes via user input in Terminal. But it doesn't make sense since we're doing automation, so there's also implementation of these methods via [smspva.com](http://smspva.com/) API. But smspva is a paid service, so if you like, you can rent numbers for Instagram and then edit [api.py](https://github.com/alexal1/Insomniac/blob/master/registration/api.py) accordingly (enter your API key, country code, and uncomment smspva methods).
3. Fill in **Full Name, Password, and Username** taken from [users.txt](https://github.com/alexal1/Insomniac/blob/master/registration/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 hitch.
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](https://github.com/alexal1/Insomniac/blob/master/registration/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](http://smspva.com/) and via [sms-activate.ru](https://sms-activate.ru/en/) APIs. Note that these services are paid, so you'll have to rent numbers for Instagram and then edit [api.py](https://github.com/alexal1/Insomniac/blob/master/registration/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](https://github.com/alexal1/Insomniac/blob/master/registration/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**.

Expand All @@ -12,11 +12,11 @@ https://www.youtube.com/watch?v=Zgv8wN7X7mM

So, how to get started with the registration flow?
1. [Activate Insomniac](https://insomniac-bot.com/activate/), since `--register` is an extra feature.
2. [Download](https://github.com/alexal1/Insomniac/archive/master.zip) the whole Insomniac project, because you need to have "registration" folder near start.py.
3. Change your device language to English (bot sometimes relies on English text on the screen).
4. Consider installing [appcloner.app](https://appcloner.app) to use their "New identity" feature ([read more here](https://appcloner.blog/2020/08/29/new-identity/)).
5. Edit [api.py](https://github.com/alexal1/Insomniac/blob/master/registration/api.py) according to your needs:
2. [Download](https://github.com/alexal1/Insomniac/archive/master.zip) 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](https://github.com/alexal1/Insomniac/blob/master/registration/api.py) according to your needs:
* To enter phone number and confirmation codes manually – do nothing.
* To use [smspva.com](http://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](https://sms-activate.ru/en/) 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`.
6. Put full names, passwords and usernames of your future users into [users.txt](https://github.com/alexal1/Insomniac/blob/master/registration/users.txt).
5. Put full names, passwords and usernames of your future users into [users.txt](https://github.com/alexal1/Insomniac/blob/master/registration/users.txt).

0 comments on commit 6cf9d48

Please sign in to comment.