Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
derickbarthelot
9 years agoNew member | Level 2
Uploading localhost mysql.sql file uploading problems
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...
Steve M.
Dropbox Staff
9 years agoYou only need to obtain the access token once.
It looks like your code echos the access token, so just copy that (or get a token by clicking the "generate token" button on the app console) and then change your code to just this:
$accessToken = "<the token you obtained>"; $dbxClient = new dbx\Client($accessToken, "PHP-Example/1.0");
(Everything else in the code snippet you shared can be deleted or commented out, since you don't need to do it once you already have an access token.)
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!