Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Pathirny
1 year agoExplorer | Level 3
Long life Access token or access token refresh
Hi there, I am currently working on a Next.js project where I am fetching photos from a folder in Dropbox. The photo's render fine but the issue is that after 4 hours the access token expires. I ...
Rich
Super User II
1 year ago
Pathirny wrote:
I know that these are short life tokens but I was wondering if I can get a token which has a longer life? Or if there is a call I can make to refresh the access token every 4 hours?
Long-lived access tokens are no longer available. You need to use short-lived tokens along with a refresh token.
Pathirny
1 year agoExplorer | Level 3
Hi Rich,
Thanks for the response! I'll look into this.
I'm currently creating a website for a client who wants a gallery of photos and trying to find an easy way for them to add photos to a folder which then get rendered on the page in Next.js.
Any idea if Dropbox is the best option for such functionality?
Thanks!
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!