Skip to content

Dropbox Integration

cam156 edited this page Sep 17, 2013 · 1 revision

When integrating Dropbox into your app the easiest way is to integrate the Dropbox chooser widget.

There are instructions for the Dropbox chooser here: https://www.dropbox.com/developers/dropins/chooser/js

Sufia has an example instantiation here: https://github.com/projecthydra/sufia/blob/master/app/views/generic_files/upload/_dropbox_chooser.html.erb

Sufia processes the urls returned from dropbox here: https://github.com/projecthydra/sufia/blob/master/lib/sufia/files_controller_behavior.rb#L79-L90

Clone this wiki locally