Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
mayas95
9 years agoExplorer | Level 4
Dropbox notification to my app that a file has been changed
Hi! I am developing a web app with php and javascript which uses dropbox for getting files. The problem is, everytime I load the file and then I change it on Dropbox, the file in my app stays unc...
mayas95
9 years agoExplorer | Level 4
Hi Greg,
I have decided for webhooks and I want to build the solution on the server-side. The problem is, Dropbox is integrated in both client-side and server-side (as long as I understand correctly). The client side is a button which is a Dropbox Chooser. The server-side is a tree view of the Dropbox files which uses server-side function from the DB API get_metadata(). This metadata is then sent to a JavaScript function which recursively shows all of the files and enables option to download them from that view.
My question is, can I implement the same solution for both of these components, and can I use the webhook also for the Dropbox Chooser? This solution is not implemented by me, but by developers before me, and for example when I log out of the component for Dropbox Chooser, the tree view account still stays because it is connected via a dropbox confirmation code in some other place in the web app. Is there a way to make this more consistent and implement webhook effectively?
Thank you for your response, I appreciate it very much
Greg-DB
Dropbox Community Moderator
9 years agoThe Dropbox Chooser is a separate kind of integration than the Dropbox API (e.g., the get_metadata method).
The Dropbox Chooser is a simple pre-built component that just allows the end-user to select a file from their account and give it to the app.
You can use the Dropbox Chooser and the Dropbox API in the same app, but they don't work the same way. Further, the Chooser itself doesn't trigger webhook notifications, since there isn't any change in the user's account (unless they happen to upload new files).
The Dropbox Chooser is a simple pre-built component that just allows the end-user to select a file from their account and give it to the app.
You can use the Dropbox Chooser and the Dropbox API in the same app, but they don't work the same way. Further, the Chooser itself doesn't trigger webhook notifications, since there isn't any change in the user's account (unless they happen to upload new files).
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!