postaddictme / instagram-php-scraper

Get account information, photos, videos, stories and comments.
https://packagist.org/packages/raiym/instagram-php-scraper
MIT License
3.09k stars 800 forks source link

Use backup codes with 2FA #777

Closed lk77 closed 3 years ago

lk77 commented 4 years ago

Hello,

is there a way to use backup code for login ?

i have a cli script that login with 2FA, but only sms code works, backup codes don't work, it would be easier to just scrap backup codes from 2FA page on instagram and keep reconnecting forever.

i have a pool of ips i'm using, and i'm switching ip after each request, but it seems that my ips are flagged in instagram and i'm getting challenge form, and if i'm not connected, i have a login form instead. I does that only in production, in local env, it works with and without authentification. The only solution i have for now is 2FA to avoid challenge.

thanks.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.