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 799 forks source link

login method not working due to checkpoint_required #123

Closed loyhall closed 6 years ago

loyhall commented 7 years ago

When I call the login method in the scraper it is failing. I output the response from instagram and it's asking for a check_point challenge (I did a print_r after line 529 in src/InstagramScraper/Instagram.php ).. which gives me something like this: "checkpoint_url": "/challenge/3931234339/rjny343TI/"

So even after authenticating my account by going to that URL in a browser and then entering the verification code that they email to me, subsequent calls to the login function are still failing with the same check_point challenge.

Any ideas, hints, tricks to get beyond this?

jasoncartercs commented 7 years ago

Any update on this?

elliott-beach commented 7 years ago

I believe this means you have two-factor authentication enabled on your account, and it won't work in that case. Do you normally have to go through this 2-step process when logging into Instagram?