Login with username and password Error
deepahir opened this issue · 2 comments
Version(s) affected: 6.16.4
Description
I use this package but when I use login with username and password., when I try to login that time
my Instagram account get notification of We Detected An Unusual Login Attempt , I also approve but then I get timeout error.
if I do this thing 4 to 5 times Instagram block my account and notify to change new password.
$credentials = include_once realpath(dirname(__FILE__)) . '/credentials.php'; $cachePool = new FilesystemAdapter('Instagram', 0, __DIR__ . '/../cache'); $api = new Api($cachePool); $imapClient = new ImapClient($credentials->getImapServer(), $credentials->getImapLogin(), $credentials ->getImapPassword()); $api->login($credentials->getLogin(), $credentials->getPassword(),$imapClient); $profile = $api->getProfile($instagram_user);
Can anyone know about this bug,please help me.
Thanks
Hey I have the same problem.
Unknown error, please report it with a GitHub issue. Client error: POST https://www.instagram.com/accounts/login/ajax/
resulted in a 403 Forbidden
response:
{"message":"Sorry, your password was incorrect. Please double-check your password.","status":"fail"}
But my password is not incorrect...
Same here. Changed to a new proxy and it was working fine using cookies login almost for a month until started failing with this error:
400 Bad Request response: {"message":"checkpoint_required","checkpoint_url":"https://i.instagram.com/challenge/?next=/api/v1/users/web_profile_inf (truncated...)
And after that this error:
Error: Unknown error, please report it with a GitHub issue. Client error: POST https://www.instagram.com/accounts/login/ajax/ resulted in a 403 Forbidden response: {"message":"Sorry, your password was incorrect. Please double-check your password.","status":"fail"}