cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sharing files from chooser

Sharing files from chooser

Infarch
Explorer | Level 4
Go to solution

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?

 

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to 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.

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to 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.

Infarch
Explorer | Level 4
Go to solution

That really works! Thank you a lot!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Infarch Explorer | Level 4
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?