public function login() {
$response = $this->client->request('POST', $this->BaseAPI.'accounts/login/', [
'form_params' => [
'username' => $this->user,
'enc_password' => $this->pass,
'guid' => $this->getGuId(),
'device_id' => $this->getDeviceId(),
'country_codes' => '[{"country_code":"90","source":["default","sim"]}]',
'google_tokens' => '[]',
'login_attempt_count' => 0,
],
'headers' => [
$this->headers,
'X-CSRFToken'=>$this->getCsrfToken(),
],
]);
$responseData = json_decode($response->getBody(), true);
return $responseData ;
}{"message":"Your version of Instagram is out of date. Please upgrade your app to log in to Instagram.","status":"fail","Bu Hatayı almaktayım acaba bir parametreyi falan mı atlıyorum bilmiyorum yardımcı olursanız sevinirim.