You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
eni8ma
7 months agoExplorer | Level 4
Simple Web App for getting info about a Dropbox Folder Content or File but Authorisation says NO??
Hey there all! I am quite new to all this. However I have working on a Webflow site that uses xano for the database and wized to run API calls and javascript functionality. I am on a Business ...
- 7 months ago
Hi eni8ma,
Yes, it's possible to pre-generate needed data (primarily refresh token) and latter use it. Keep in mind that you have to avoid credentials exposing (either access or refresh token) while your application works (that would be security issue). Take care with that part of design! Example of refresh token generation by yourself may be seen here. Once you have it, you can initialize one of Dropbox SDKs of your choice and proceed further without further user interaction. Also, you can perform API calls on your own (without official SDK), but you should take care to refresh access token as described (all SDKs do this internally) - the choice is yours. 😉
Hope this clarifies matter.
Greg-DB
Dropbox Staff
eni8ma Здравко is correct; for long-term unattended access, you should request offline access in order to get a refresh token. This only needs to be authorized by the user once manually. Refer to the following resources for more information:
eni8ma
7 months agoExplorer | Level 4
Ok, it does make sense so I can just do the initial setup and let the refresh tokens run periodically. Thanks for the links!
About Discuss Dropbox Developer & API
Make connections with other developers
795 PostsLatest Activity: 2 days agoIf you need more help you can view your support options (expected response time for an email or 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!