Closed A-0-0-P closed 3 years ago
It's probably some issue with the account. I had this issue when I deployed my script on aws and Instagram flagged the account because it was being used from the US instead of from the UK.
It's probably some issue with the account. I had this issue when I deployed my script on aws and Instagram flagged the account because it was being used from the US instead of from the UK.
And did you find a solution for that?
@recoverjp the account holder has to login and follow instagram instructions to rectify the account
I did not understand. The best solution would be to create an account in the USA if I am going to use AWS?
The problem is here, as $ this->challengeDelay is being sent as null. And even if we have an integer value, then there is an error in the sendSecurityCode function because there is no such key 0 and these values. Anyway, I haven't figured out how to solve it.
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.
Version(s) affected: 6.6.4
Description
I can't log into Instagram without the 'Checkpoint challenge bypass'.
So I tried to implement this example: checkpoint-challenge.php But I just get this error. Is it something on my side, or some change that Instagram made and breaks the code? Thanks for any input !
Fatal error: Uncaught TypeError: Argument 4 passed to Instagram\Auth\Checkpoint\Challenge::__construct() must be of the type int, null given, called in /Users/Me/Sites/localhost/_instagram_feed4/vendor/pgrimaud/instagram-user-feed/src/Instagram/Auth/Login.php on line 134 and defined in /Users/Me/Sites/localhost/_instagram_feed4/vendor/pgrimaud/instagram-user-feed/src/Instagram/Auth/Checkpoint/Challenge.php:45 Stack trace: #0 /Users/Me/Sites/localhost/_instagram_feed4/vendor/pgrimaud/instagram-user-feed/src/Instagram/Auth/Login.php(134): Instagram\Auth\Checkpoint\Challenge->__construct(Object(GuzzleHttp\Client), Object(GuzzleHttp\Cookie\CookieJar), '/challenge/1015...', NULL) #1 /Users/Me/Sites/localhost/_instagram_feed4/vendor/pgrimaud/instagram-user-feed/src/Instagram/Auth/Login.php(101): Instagram\Auth\Login->checkpointChallenge(Object(GuzzleHttp\Cookie\CookieJar), Object(stdClass)) #2 /Users/Me/Sites/localhost/_instagram_feed4/vendor/pgrimaud/instagram-user-feed/src/Instagram/Api.php(108): Instagram\Auth\Login->process in /Users/Me/Sites/localhost/_instagram_feed4/vendor/pgrimaud/instagram-user-feed/src/Instagram/Auth/Checkpoint/Challenge.php on line 45