Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
mkamalkayani
5 years agoExplorer | Level 4
dropbox integration with an external web app
Hi,
I have been a dropbox user for years but new to dropbox api and developer forums.
I want to provide dropbox integration to the users of my web app. I want to provide a feature that will allow users to paste a shareable link of a folder in my app and get a preview of the files.
I think there would be some endpoint I can use to get the list of the files and then download them into my app, similar to how browsers show the preview of the files inside a shareable link.
I would appreciate if someone can point me in the right direction.
Thanks
Dropbox does not offer a way to extend the Embedder, but Dropbox does offer a general API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here:
https://www.dropbox.com/developers
You may want to check out the Getting Started guide first:
https://www.dropbox.com/developers/reference/getting-started
For the functionality you describe, to allow a user to give your app a Dropbox shared link for a folder, and then have your app list and download from that link, you should check out the following endpoints:
- https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_metadata
- https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
- https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue
- https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_file
Those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible:
https://www.dropbox.com/developers/documentation
Those have corresponding native methods for the HTTPS endpoints.
3 Replies
- mkamalkayani5 years agoExplorer | Level 4
Update:
I explored the docs and have found the embeder component. It allows me to show the files in the folder of the publicly shareable link. That's cool.
However, I want the user to select some files and then I can get the links of the selected files and download them. What options do I have to extend the embedder component?
Additionally, the embeder component is calling this endpoint: `https://www.dropbox.com/2/trello/get_shared_link_metadata/batch`
I haven't come across /trello in the api docs, anyone knows why is it used here? - Greg-DB5 years ago
Dropbox Community Moderator
Dropbox does not offer a way to extend the Embedder, but Dropbox does offer a general API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here:
https://www.dropbox.com/developers
You may want to check out the Getting Started guide first:
https://www.dropbox.com/developers/reference/getting-started
For the functionality you describe, to allow a user to give your app a Dropbox shared link for a folder, and then have your app list and download from that link, you should check out the following endpoints:
- https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_metadata
- https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
- https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue
- https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_file
Those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible:
https://www.dropbox.com/developers/documentation
Those have corresponding native methods for the HTTPS endpoints.
- mkamalkayani5 years agoExplorer | Level 4
Greg-DB Thanks.
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!