2017-12-21 23 views
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".

답변

0

위의 오류는 특정 계정과 유사합니다. 계정에 악의적 인 활동이 감지되면 계정을 잠그고 액세스 토큰을 취소하고 다시 로그인하여 계정의 잠금을 해제해야합니다. 보안 검사 점이라고 부릅니다. 다른 나라에서 VPN이나 ​​다른 것을 통해 계정에 액세스하려고하는 것과 같은 것입니다. 또는 잘못된 비밀번호를 여러 번 시도했습니다.