file_get_contents i curl ile degistir
veya
$json=file_get_contents('https://www.instagram.com/nizhenets/?__a=1', false, stream_context_create(array("ssl"=>array("verify_peer"=>false,"verify_peer_name"=>false))));
$data=json_decode($json,true);
print_r($data);
exit;bi dene.