Our Community is in read-only mode until April 8th, learn more here. You can still search existing threads or get help via Dropbox Support, the Dropbox Help Center, or Learn.
Forum Discussion
Greg-DB
Dropbox Community Moderator
7 years agoRe: DropBox Auth flow issue
Yes, 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
3 Replies
Replies have been turned off for this discussion
- gdev7 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-DB7 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 - gdev7 years agoNew member | Level 2
You the man, thanks Greg!
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!