We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
gdev
8 years agoNew member | Level 2
DropBox Auth flow issue
Would it be possible to have a web page where a user can select multiple files from our server and have the server send those files directly to that user's dropbox account? I assume they would ne...
Greg-DB
Dropbox Community Moderator
8 years agoYes, this is possible. The easiest way would be to use the Dropbox Saver:
https://www.dropbox.com/developers/saver
If you want a more automated or custom integration though, you can use the Dropbox API instead. You would need to send the user through the OAuth app authorization flow:
https://www.dropbox.com/developers/reference/oauth-guide
https://www.dropbox.com/developers/documentation/http/documentation#authorization
Then you can upload programmatically, e.g., using /2/files/upload:
https://www.dropbox.com/developers/documentation/http/documentation#files-upload
https://www.dropbox.com/developers/saver
If you want a more automated or custom integration though, you can use the Dropbox API instead. You would need to send the user through the OAuth app authorization flow:
https://www.dropbox.com/developers/reference/oauth-guide
https://www.dropbox.com/developers/documentation/http/documentation#authorization
Then you can upload programmatically, e.g., using /2/files/upload:
https://www.dropbox.com/developers/documentation/http/documentation#files-upload
gdev
8 years agoNew member | Level 2
Nice! Thanks for the quick response. Any chance you know of any PHP examples or Laravel examples?
Thanks in advance
- Greg-DB8 years ago
Dropbox Community Moderator
For the Dropbox Saver, the integration is done in JavaScript in the browser.
For the Dropbox API, we don't have any official PHP/Laravel SDK or examples, but there are some third party PHP libraries listed here:
https://www.dropbox.com/developers/documentation/communitysdks- gdev8 years agoNew member | Level 2
You the man, thanks Greg!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!