We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
manmanman
5 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/b6v0dz1kkkap3s7/AAAAizqELKLxCZx7cXtBvw3La?dl=0",
"name" : "Slide Shows",
"link_permissions" : {
"can_revoke" : true,
"resolved_visibility" : "public",
"requested_visibility" : "public"
},
"id" : "id:gMlrgFnNKzAAAAAAAAAAFQ",
"path_lower" : "/slide shows"
}
I didn't get the content related to sharedFolderId. how can I get the correct sharedFolderId according to the shared folder link and then traverse the folder to download the files it contains
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-DBDropbox Staff
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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 3 hours agoIf 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!