Hi there,
I am following the steps mentioned here https://www.dropbox.com/developers/core/start/java. but when I run the java program for second time, it says that "code has expired (within the last hour)", "error": "invalid_grant".
What should I do?
Especially, my question is how to set the access to the app so that the code is gotten only once, then you never need to do it again and the access stays there.
I want to automatically send the user to the authorization URL and pass in a callback URL so that the user is seamlessly redirected back to my app after pressing a button? rather than directing the user to the login page?
Thanks in advance