I have a Dropbox basic account, and these are my download codes. But I cant download my files with core API. Please help me .
require_once "lib/Dropbox/autoload.php";
use \Dropbox as dbx;
$appInfo = dbx\AppInfo::loadFromJsonFile("app-info.json");
$webAuth = new dbx\WebAuthNoRedirect($appInfo, "PHP-Example/1.0");
$authorizeUrl = $webAuth->start();
$accessToken = '<ACCESS_TOKEN>';
$dbxClient = new dbx\Client($accessToken, "PHP-Example/1.0");
$f = fopen("2016-2017-bahar-donemi-bilgisayar-muhendisligi-ders-programi.xls", "w+b");
$fileMetadata = $dbxClient->getFile("/2016-2017-bahar-donemi-bilgisayar-muhendisligi-ders-programi.xls", $f);
fclose($f);