Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hello all,
We are using Dropbox Javascript SDK to access a shared folder link in our AngularJS application.
However after we get the contents of the shared folder using dbx.filesListFolder we get the files and subfolders as expected. But we want to get direct download links to all the files inside this shared folder. For each file on the list we get around 10 parameters but we don't get an URL parameter for a direct link or something similar. The only parameter which is kind of unique is "id" which I hope we somehow can get a direct download link from it using some SDK function.
Do you have an idea how we can get a direct download lnk to a file using its "id" parameter?
Note: the format of the ID is something like this: "id:SPneIcnRl4AAAAAAAAU5dA"
You're on the right track.
Once you have the file's id, you can pass that to the filesGetTemporaryLink() method in the JavaScript SDK. You'll need to generate a new download link for each file individually.
Hi there!
If you need more help you can view your support options (expected response time for a 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!