Dropbox library in LC 9 - centralise the access token?

Ben Rubinstein benr_mc at cogapp.com
Wed Oct 11 12:12:02 EDT 2017


The new Dropbox library is (going to be) great. But while it's still only in 
DP, can I suggest a modest improvement?

Every single command in the library takes an access token as the first 
parameter. Given that most uses of the library will involve multiple calls; 
and the cases where an app is juggling two different dropbox accounts will 
surely be vanishingly small; wouldn't it be much more elegant if there was a 
single command "dropboxSetAccessToken" or similar, to normally be used just 
once in a session - then every other command would drop that parameter?

Ben




More information about the use-livecode mailing list