adasq
adasq
can you please wrap `upload` function with `try/catch`?
Thank you both for your input. That's indeed interesting. I briefly checked it out and it looks like we can generate `sessionToken` without sending over `botGuard` details. The only missing...
Generating `botguardResponse` is a tricky part. AFAIR it's generated on the client-side by executing JavaScript (in conjunction with `iframes`). I think it'd be easier to get `ivctx`
Follow up: we can get `ivctx` from `/esr`. The problem is that this API that requires `botGuardResponse`.
You're correct. Will try to use node-fetch. Thanks!
Since recent changes to the Dropbox API, we should probably go through OAuth flow to tackle that. Great reading on the topic (flow described) - please get familiar with this:...
> However, I get the error that "code" is not defined. The `code` is what you get from OAuth flow. Here's a full example of how to go throughout the...
Hey @simatec OAuth flow implies authenticating via your browser. You can't automate it. Once you open the URL (`dropbox.generateAuthUrl()`) and authenticate via Dropbox account you'll be responded with a `code`....
I see your point now. As described [here](https://developers.dropbox.com/pl-pl/oauth-guide): > Applications that require offline access to the API - meaning using the API when the end user is not actively interacting...
Totally agree. Certainly, they have some strong arguments (probably security considerations) to ditch an old way of creating long-living tokens > If you have a link to the server side...