Hello Greg! ... mh thinking on it, it can be dangerous for misuse of it, there is more control over if the domain is manually added, and maybe it is done to not be used in this way as i intended ... but really it work magically as i've implement it. My DBX oauth php class have methods to unlink, create folder, delete folder and all the rest necessary, but since the chooser work perfect for uploads and run fast, i had code this plugin (that i would like to release now for free) with chooser for uploads. Thank to push up the request, whenever will be possible may i will return over, but in the while i will start something mine, using js promises mechanism, that i've discover, in simple way can be used to upload files also in chunks with easy ... but of course, would be really hard to crate the exact interface as is the native DBX chooser! ... i'll try as possible. Thank you again, see you soon, good luck!
Is there still no way to do this? We are looking to implement the chooser in our service but we also support custom subdomains and domains for our users to customize the url they use to access our service. With that feature it is not feasible to manually add each domain as users can create them on their own.
For reference, we are also looking to implement the Google picker and found that they provide an API keys API (quite a name). I was hoping to find a similar API for dropbox.
If this isn't possible, I'm not sure we can include the DB chooser which is a bummer.
@WCByrne Unfortunately there still isn't a way to register these programmatically.
For reference though, for the case of subdomains at least, you can register just the main domain, e.g., example.com, which would enable use of the Chooser on any subdomain of example.com, e.g., sub1.example.com, sub2.example.com, webmail.example.com, etc.
Alternatively, you can embed an iframe containing the button, which would be hosted on your own domain. This would let you just set that one domain in the app options page. It would be very important that you then restrict the set of domains that you allow to iframe your button though, but this list would now be under your control so you can set it programmatically.