Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.
Forum Discussion
Amicao
4 years agoExplorer | Level 3
How to use Dropbox as server side Laravel Filesystem continuously?
Hello, good evening, my name is Victor, I'm currently on behalf of a customer to solve a doubt. I need to make a Laravel application for him that uses Dropbox as its Filesystem for file storage. Currently I have implemented this project schema with the spatie/flysystem-dropbox dependency like this https://github.com/VictorRayan/laravel-dropbox/. With this, the application is already able to perform file management operations on Dropbox, however, it uses the Access Token that expires periodically, as it is a server application, it is not feasible to have to manually update the temporary token all the time.
So the solution that I imagine I've read in the documentation would be to use the Dropbox app's ID and Secret to generate a refresh token request and periodically obtain, in an automated way, new expired access tokens to continue using in this already implemented system.
My problem is that I read and read a lot of the documentation about HTTP and OAuth flow and for me still its implementation and functioning is however obscure, I can't understand. I would be very grateful if you could help me with some example according to what I need.
2 Replies
- Здравко4 years agoLegendary | Level 20
Hi Amicao,
You can get idea how it works here, I believe. 😉 Your work is the PHP "translation".
Hope this helps.
- Amicao4 years agoExplorer | Level 3
Thank you very so much! Now it's clarified to me, I understood well how it works.
Really, this will be just the PHP translation haha
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,038 PostsLatest Activity: 6 years ago
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 or Facebook.
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!