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
sanjeev_hansanur1
3 years agoExplorer | Level 4
how to get access token using refresh token in java
I have refresh token(constant), need to know how to obtain access token using refresh token in java
Need sample code to test
Greg-DB
3 years agoDropbox Staff
You can also find examples of this functionality in the Dropbox API v2 Java SDK here.
For Android apps in particular, if relevant in your case, using the official Dropbox API v2 Java SDK, you should use the updated authorization functionality, starting with the startOAuth2PKCE method. You can find an example app here. For instance, you can see where that starts in the code here and how the result is handled here. When you use that functionality as shown, the SDK will then handle the refresh process for you automatically.)
--
Edit: updated links.
- Abood Moorad2 years agoNew member | Level 2
Can you update the links because they are not valid anymore
- Greg-DB2 years agoDropbox Staff
Abood Moorad I've updated the links in my post. Thanks!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 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!