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

ogurchik222's avatar
ogurchik222
Explorer | Level 4
2 years ago

Re: Tokens only valid for 4 hours from app console

Hi, I am going to install Python Software on Linux server with no access to browser. Can you please tell me, can I automatically generate short-lived tokens to access Python Dropbox SDK without brows...
  • Здравко's avatar
    2 years ago

    Hi ogurchik222,

    Unfortunately, in Dropbox Python SDK examples is not any like you are looking for. I have posted some time ago some code (not exactly what you ask for) which do the authentication flow (on first run) and actual work in the same module. You can split this code and use the part responsible for authentication flow on machine with browser (just a single call) and the other part on your browserless server. 😉 The configuration file, once created, can be copied in a way convenient for you on the same/equivalent place. I believe this example gives a way you can use in your Python Software.

    Good luck.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 3 days ago
333 Following

If 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!