well I'm trying to make an app using a friends' sites' api. Thing is, it's very new, not many people know about it. And only examples are written in PHP.. This is my first time working with an api of some sort, so not sure where to start. All I need to know is the basics then I can most likely get it off on my own..
require __DIR__ . '/config.php';
require realpath(__DIR__ . '/../src/') . '/dailybooth.php';
$dailybooth = new DailyBooth(array(
'client_id' => DAILYBOOTH_CLIENT_ID,
'client_secret' => DAILYBOOTH_CLIENT_SECRET,
'redirect_uri' => DAILYBOOTH_REDIRECT_URI,
));
$dailybooth->authorize();
Ben dosyayı ben sadece raylar bu hale nasıl tam olarak bilmek gerekir, olduğunu gerektirir biliyorum. (App yetki)