Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-10 Thread Mike Kerner via use-livecode
It works for me in both 8 and 9. The only way I get error 400 is if I enclose the arguments in parenthesis (which tells LC that all of that goodness goes into the first parameter) Remember, this is a command, not a function, so the arguments are not enclosed: dropboxGetCurrentAccount oauthToken, a

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-10 Thread Mike Kerner via use-livecode
The thing I tell everyone to do when they want to mess with the new library is download the original that inspired it, and play with that, because it's got better documentation and you can mess with everything. Granted LC's command names are different, but underneath the code is more-or-less the s

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-10 Thread Mike Kerner via use-livecode
I'll look later. On Tue, Oct 10, 2017 at 5:17 PM, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: > New dropbox library great... but when I try to use > dropboxGetCurrentAccount, I consistently get a 400 error code (i.e. Bad > Request). > > Is this working for anyone else

Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-10 Thread Ben Rubinstein via use-livecode
New dropbox library great... but when I try to use dropboxGetCurrentAccount, I consistently get a 400 error code (i.e. Bad Request). Is this working for anyone else (Mike K??) TIA, Ben ___ use-livecode mailing list use-livecode@lists.runrev.com Plea

Re: Trying to use OAuth2 for Dropbox in 9 DP 9

2017-10-10 Thread Ben Rubinstein via use-livecode
Thanks both, just the ticket! On 10/10/2017 13:25, Mike Kerner via use-livecode wrote: Also, if you're migrating from the phx_dropbox library, if you're interacting with the base directory, you have to include the slash. On Tue, Oct 10, 2017 at 7:28 AM, Monte Goulding via use-livecode < use-liv

Re: Trying to use OAuth2 for Dropbox in 9 DP 9

2017-10-10 Thread Mike Kerner via use-livecode
Also, if you're migrating from the phx_dropbox library, if you're interacting with the base directory, you have to include the slash. On Tue, Oct 10, 2017 at 7:28 AM, Monte Goulding via use-livecode < use-livecode@lists.runrev.com> wrote: > > > On 10 Oct 2017, at 9:53 pm, Ben Rubinstein via use-l

Re: Trying to use OAuth2 for Dropbox in 9 DP 9

2017-10-10 Thread Monte Goulding via use-livecode
> On 10 Oct 2017, at 9:53 pm, Ben Rubinstein via use-livecode > wrote: > > The redirect URI I have registered for my app is > http://127.0.0.1:51051 Add a trailing slash http://127.0.0.1:51051/ Cheers Monte

Trying to use OAuth2 for Dropbox in 9 DP 9

2017-10-10 Thread Ben Rubinstein via use-livecode
I'm attempting to use the OAuth2 and Dropbox libraries in LC 9.0.0 (dp9). (If I test the Dropbox functions with a temporary access token for my app generated from the Dropbox api website, it's fine.) When I try to use the Oauth2 command to implement this for users, I get a sheet dialog with w