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
Julian Li
2 years agoExplorer | Level 4
Re: How to get refresh token without User interaction
As a regular automation task, we have a cronjob that uploads files to dropbox as a backup. This cronjob is not a web app and only talks to dropbox directly via API. Thus, in this case, how could we o...
Здравко
2 years agoLegendary | Level 20
Julian Li wrote:... Thus, in this case, how could we obtain a token without authorisation via the browser? ...
Hi Julian Li,
It's still impossible if you want long term access. You can get access token without browser, but it would be short-lived token (most probably not what you want).
Julian Li wrote:... And for this case, I only need to access my own dropbox account.
Doesn't matter what you need long term access (refresh token) for, you need least one interaction through the browser. This interaction doesn't need to be implemented in your cronjob, but can be run anywhere, anyhow. Once you get to the refresh token, you can use it into your cronjob (without any further user interactions). 😉 That's it.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 18 hours 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!