Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi. Appreciate this may be a silly question, but here goes. Given that a refresh token can be used to generate short lived access tokens, is it possible to use more than one of these short lived tokens at the same time in the same app for the same user.
So for example could you be using one short lived access token for a background process (e.g. using longpoll), then generate another short lived token to read some files from a folder, while the background process continues. Or would the generation of the new short lived token invalidate the token being used for the background process.
I ask because currently I maintain multiple instances of the DropboxClient in my Android client, so I may need to switch to a singleton if the above is a problem.
You can create and use multiple short-lived access tokens for the same app-user pair at the same time. Creating a new one doesn't invalidate previous ones.
You can create and use multiple short-lived access tokens for the same app-user pair at the same time. Creating a new one doesn't invalidate previous ones.
Thanks. And great support in general by the way, really appreciate it!
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!