Start 2025 on time and up to date! Seamlessly integrate your calendars into Dropbox with these simple steps! 📆
Forum Discussion
Ghost Mjrm
2 years agoExplorer | Level 4
How can i get lifetime Access Token
i have android app connected to my Dropbox folder using access token but every 4 hour should i edit my code and input the new access token is there any method to make the app working 24h without any ...
- 2 years ago
Ghost Mjrm, Be more careful when inspecting the code.
Ghost Mjrm wrote:
... there is no offline ...Hm..🤔 Let's see where the OAuth starts here and what actually gets executed here. 🧐 Are you still thinking "there is no offline"? 🙂
Ghost Mjrm wrote:
... or refresh token exampleLet's see where OAuth finish here and what actually it executes here. Ahhh... where was this refresh token... 😉
Keep more attention on code reading.
Ghost Mjrm
2 years agoExplorer | Level 4
Do you have more resources I didn’t find this useful idk why but there is no offline or refresh token example
Здравко
2 years agoLegendary | Level 20
Ghost Mjrm, Be more careful when inspecting the code.
Ghost Mjrm wrote:
... there is no offline ...
Hm..🤔 Let's see where the OAuth starts here and what actually gets executed here. 🧐 Are you still thinking "there is no offline"? 🙂
Ghost Mjrm wrote:
... or refresh token example
Let's see where OAuth finish here and what actually it executes here. Ahhh... where was this refresh token... 😉
Keep more attention on code reading.
- Ghost Mjrm2 years agoExplorer | Level 4
aha yeah i don't know how you got there but its seem to me he is using kotlin not java but i will figure it out
thanks (:
- Здравко2 years agoLegendary | Level 20
Ghost Mjrm wrote:aha yeah i don't know how you got there ...
It's the internals of same link, I posted before. Nothing new.
Ghost Mjrm wrote:... but its seem to me he is using kotlin not java but i will figure it out
...
Kotlin is widely used as a Java replacement (it's definitely more powerful), so Dropbox does the same. Both of them are using the same JVM, so they are compatible and you can use Java while Dropbox Java SDK for Android is in fact not Java but Kotlin. Again, Kotlin and Java languages can be mixed troubleless (there are some small exceptions only, that don't affect you in the particular case).
Good luck. 😉
- Ghost Mjrm2 years agoExplorer | Level 4
i have done with the code but im facing a problem with the redirected uri
in my situation and in my code i want the user after make oauth flow and done with it and get the access token then my app use this token to upload photo
i dont want the user to redirect to http site or somthing so now i got this error after setting the redirect uri to redirect user to my app
error 400 invalid redirect_uri. when response_type=code without PKCE,redirect_uri must start with "https://", unless its a localhost URI
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,936 PostsLatest Activity: 4 hours ago
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!