Başlıkta gördüğünüz gibi mgp25 adlı kişinin yaptığı unofficial apiyi kullanarak profil fotoğrafı değiştirmeye çabalıyorum. "Invalid request options." hatasını alıyorum. API'yi Github'dan kaldırmışlar. Destek vermiyorlar. Yardımcı olabilecek var mı? Gerekirse API'yi paylaşabilirim.

    public function changeProfilePicture($photoFilename)
{
return $this->ig->request('accounts/change_profile_picture/')
->addPost('_csrftoken', $this->ig->client->getToken())
->addPost('_uuid', $this->ig->uuid)
->addPost('_uid', $this->ig->account_id)
->addFile('profile_pic', $photoFilename, 'profile_pic')
->getResponse(new Response\UserInfoResponse());
    }
Bu da fonksiyon kodları.