我想在Github上使用mgp25的Instagram API(here此链接)。但是我不从类中创建对象。这是我的代码,错误消息和目录中的文件。
文件和文件夹:供应商,composer.json,composer.lock,index.php
我在index.php中的代码
require __DIR__.'/vendor/autoload.php';
try {
$ig = new \InstagramAPI\Instagram();
} catch (\Exception $e) {
die('Bir hata oluştu: '.$e->getMessage());
}
错误消息是:“ Bir hataoluştu:设置文件不可写”