I have an problem with Dropbox api. I successfully installed and checked PHP all are ok. but every time connection asking the access token. I need to upload without any questions ask dirrectly upload file and download if needs.
Every time i need to follow these steps to get upload the file...... copy the token and past into $authCode.
$authorizeUrl = $webAuth->start();
echo "1. Go to: " . $authorizeUrl . "<br>";
echo "2. Click \"Allow\" (you might have to log in first).<br>";
echo "3. Copy the authorization code and insert it into authCode.<br>";
$authCode = trim('A23fdddsefsersfSFDSFd1BhBaikCob6bFDxkNSU');
list($accessToken, $dropboxUserId) = $webAuth->finish($authCode);
echo "Access Token: " . $accessToken . "<br>";
$dbxClient = new dbx\Client($accessToken, "PHP-Example/1.0");