Dropbox library in LC 9 - centralise the access token?

Mike Kerner MikeKerner at roadrunner.com
Wed Oct 11 13:05:59 EDT 2017


And I don't know how modest it will be - the syntax of every command in the
library would have to be updated, which means everyone's code (who is using
the library) would have to update it.
We could also have a new dropbox library that implements this, but then it
would be up to the team to deprecate this one, or we would have competing
libraries.

On Wed, Oct 11, 2017 at 1:02 PM, Mike Kerner <MikeKerner at roadrunner.com>
wrote:

> so file a qr.  since it's written in LC it should be doable by either of
> us...or anyone
>
> On Wed, Oct 11, 2017 at 12:12 PM, Ben Rubinstein via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> 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
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>    and did a little diving.
> And God said, "This is good."
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."



More information about the use-livecode mailing list