We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
manmanman
6 years agoExplorer | Level 4
sharedFolderId
DbxUserSharingRequests.getSharedLinkMetadata("https://www.dropbox.com/sh/b6v0dz1kkkap3s7/AAAAizqELKLxCZx7cXtBvw3La?dl=0"); return { ".tag" : "folder", "url" : "https://www.dropbox.com/sh/b6v...
- 6 years ago
You don't need the shared folder ID from a shared link in order to list and download the contents of the shared link.
You can use listFolderBuilder/listFolderContinue to list the contents of a folder based on a shared link to that folder. Use ListFolderBuilder.withSharedLink to set the shared link.
Then, based on the file names returned there, you can use getSharedLinkFileBuilder to download the desired file(s). Use GetSharedLinkFileBuilder.withPath to set the relative path for the particular file you want to download.
Greg-DB
Dropbox Community Moderator
6 years agoYou don't need the shared folder ID from a shared link in order to list and download the contents of the shared link.
You can use listFolderBuilder/listFolderContinue to list the contents of a folder based on a shared link to that folder. Use ListFolderBuilder.withSharedLink to set the shared link.
Then, based on the file names returned there, you can use getSharedLinkFileBuilder to download the desired file(s). Use GetSharedLinkFileBuilder.withPath to set the relative path for the particular file you want to download.
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!