2
thisInstagram
미디어 게시물 타사 라이브러리를 사용 중입니다. 체크 포인트 (챌린지) 요구 오류가 발생할 때마다 Instagram 계정에 로그인 할 때이 문제를 어떻게 해결할 수 있습니까? , "checkpoint_required"웹 api를 사용하여 스 태 그램에 미디어 게시물 업로드
오류 응답 :
메시지 당신이 here에 대한 자세한 내용을 찾을 수 있습니다
try { $response = $this->request('accounts/login/') ->setNeedsAuth(false) ->addPost('phone_id', $this->phone_id) ->addPost('_csrftoken', $this->client->getToken()) ->addPost('username', $this->username) ->addPost('adid', $this->advertising_id) ->addPost('guid', $this->uuid) ->addPost('device_id', $this->device_id) ->addPost('password', $this->password) ->addPost('login_attempt_count', 0) ->getResponse(new Response\LoginResponse()); } catch (\InstagramAPI\Exception\InstagramException $e) { if ($e->hasResponse() && $e->getResponse()->isTwoFactorRequired()) { // Login failed because two-factor login is required. // Return server response to tell user they need 2-factor. return $e->getResponse(); } else { // Login failed for some other reason... Re-throw error. throw $e; } }
:
이
은 로그인 코드 checkpoint_url : "https://i.instagram.com/challenge/6193546568/K2IwuBF47k/", 잠금 : 사실, 상태 "실패", ERROR_TYPE은 : 당신은 당신이 저를 제안 할 수 있습니다 인스 타 그램 미디어 게시물의 다른 방법이있는 경우
"checkpoint_challenge_required".