1

I use github sample to upload image file to dropbox and It's OK,

But after upload, HOW CAN I get link of uploaded file? Such as:

https://www.dropbox.com/s/wiczs1cbhwveq5p/2017_Penguins.jpg?dl=0

It used to record again (in my database) to download this file later, with:

javascript/download/index.html

saeed
  • 2,477
  • 2
  • 23
  • 40

1 Answers1

0

To get a shared link for a file using the Dropbox API v2 JavaScript SDK, you can use the sharingCreateSharedLinkWithSettings method.

Greg
  • 16,359
  • 2
  • 34
  • 44
  • is there any chance that you show an example on how it's done? I really need it. – Miraz Nov 24 '22 at 08:01
  • @Miraz I've answered your new post here: https://stackoverflow.com/questions/74558459/get-link-to-the-uploaded-image-in-dropbox-using-js-and-sdk – Greg Nov 24 '22 at 17:49