ioantsaf / hacked_insta_unliker

Python script to detect and remove suspicious likes from Instagram
GNU General Public License v3.0
10 stars 0 forks source link

Possible to use on accounts with two-factor auth enabled? #4

Closed frozenpandaman closed 3 years ago

frozenpandaman commented 3 years ago

Thank you so much for this script. Is there any way around the two_factor_required error thrown when your account has 2FA turned on, or should I just remove it & re-enable it on my account after I'm done running the script?

My account has liked so many posts that I'll likely have to run this script across multiple times/days and I ideally wouldn't want to leave 2FA turned off (or to go back and forth with enabling it) that whole time. Thanks!

ioantsaf commented 3 years ago

Currently there is no way to use the script with 2FA. You will have to turn off 2FA, use the script then turn it on again. I also don’t plan on developing new features, but if someone wants to develop a 2FA method, feel free to submit a pull request.

frozenpandaman commented 3 years ago

Thanks for the answer! No worries. Apparently someone's made a fork of another JS-backed Instagam private API repo at https://github.com/ini0n/instagram-private-api-auth, which includes support for 2FA, so this should be possible in theory if anyone wants to tackle it in the future.