Hat to say it but for me the DropBox API docs are not very clear at all (OK that also goes for other API's as well e.g. MrG's Drive) but hey ho . My need is actually simple - well it should be but based on the examples - ummm they don't work ....
I am using 'Chooser' because it's nice and simple for my 'users' but can I get any 'responce' back - no. I'm not worried about too much, just getting the file name and path when a file is uploaded - simple.
So why when I do something like this - direct from the docs -doesn't it work - am I missing something?
var button = Dropbox.createChooseButton(options);
document.getElementById("container").appendChild(button);
var options = {success: function(files) {
alert("Here's the file link: " + files[0].link)
}
}
I don't get the alert?