You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Infarch's avatar
Infarch
Explorer | Level 4
6 years ago

Sharing files from chooser

Hi All!

I need an unusual feature on my site. Users can upload files from Dropbox using the Chooser. After uploading these files should be sometimes compared to their originals in Dropbox and conditionally updated. As I understand, I need shared links to files for that. Is it possible to get shared links from Chooser? Or may be generate them automatically by JS on the same page? I do not want to enforce users to generate shared links for each file separately: they will not be happy! Is there any solution?

 

  • If you implement the Dropbox Chooser on your web site and use the "preview" link type, the Chooser will return a shared link for each file selected by the user. 

    As long as the user doesn't delete the file or revoke the link, a shared link will stay valid so your app can recheck it for changes occasionally without further manual user interaction.

    If you need a deeper integration than that though, you'd need to use the Dropbox API instead.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    If you implement the Dropbox Chooser on your web site and use the "preview" link type, the Chooser will return a shared link for each file selected by the user. 

    As long as the user doesn't delete the file or revoke the link, a shared link will stay valid so your app can recheck it for changes occasionally without further manual user interaction.

    If you need a deeper integration than that though, you'd need to use the Dropbox API instead.

    • Infarch's avatar
      Infarch
      Explorer | Level 4

      That really works! Thank you a lot!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,915 PostsLatest Activity: 7 hours ago
333 Following

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 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!