subzeroid / instagrapi

🔥 The fastest and powerful Python library for Instagram Private API 2024
https://hikerapi.com/p/bkXQlaVe
MIT License
4.37k stars 684 forks source link

I have been having the issue where Instagram is constantly requesting for a code from my email and just now I got my account disabled. #1470

Closed NicoRulli closed 1 year ago

NicoRulli commented 1 year ago

What are the necessities to prevent this? The 2FA section of this repository doesn't go into enough detail. I tried using duo mobile but that didn't auto login like I want. I have a VPN running all the time so that isn't an issue.

Can the OP create one text file /code section that covers all the bases? I need my code to run once a day WITHOUT getting me banned. I understand everyone is using this for different reasons, but I see a lot of people with login issues etc.

adw0rd commented 1 year ago

If there is a bug, fix it and submit your changes as Pull Request. Everything works as it should on all my accounts, I look forward to improvements from you

NicoRulli commented 1 year ago

I 'm not saying it isn't working. I just would like you to describe the methods you are personally using to prevent instagram from noticing it is a bot. 2FA? VPN? Settings?

I am new to github so please understand that, however I think that your repository may need some more descriptive examples. My code for this is posted under my repositories if you'd like to take a look. Thank you.

adw0rd commented 1 year ago

In short, walk from one device and one IP address. No more than 8 accounts per IP address. Do a minimum of actions, avoid likes, following and commenting on posts

To collect data, I use my service https://lamadava.com and https://datalama.io, to perform actions I use instagrapi

you might find it useful https://adw0rd.github.io/instagrapi/usage-guide/best-practices.html