Dear All, I am using DropboxV2, Vesion 0.44 Library with dropbox-sdk-java-5.0.jar But from April 13, 2022, Sub dbxFiles_DownloadFinished(success As Boolean, meta As FileMetadata, error As String) and Wait For dbxFiles_DownloadFinished(success1 As Boolean, meta As FileMetadata, error As String)...
www.b4x.com
)
y EL NUEVO PROBLEMA ES que el token expira en 5 horas aprox.
Hi, i am using some of the http api endpoints to upload or download files. As i saw in the documentation the API access tokens never expire but can only be...
www.dropboxforum.com
pero no se como resolver en b4x
el nuevo token tiene un texto similar a este:
sl.BGZp2KQIbO-EQauhExxxxxEYkyuQI_NwYEzsG0G5XeG_6hS8CS5jvzyZ7_PXC6YbAOgSxxxxxWP1x1vdGiYITcXg6An6BQhp15XjWuwWrk_7_uxxxxx6-n-nKWJb4YCOrK-xXsJ9wkcd
el token comienza con sl. y leí que el token con este inicio y duración solo funciona 5 horas.
I guess we all have to change to OAuth2 and use the functionality here. OAuth2 can get a new AccessToken if the old one expires if you have a refreshtoken.
You can get the refreshtoken when using OAuth2 instead of the JDK-Methods....
If you can find a JAVA Example using the SDK to get an long-life token i can try to use that code in my wrapper.
To end this topic.
What post or information do I need to learn to change the way I send and receive files from dropbox? I have searched the forum, downloaded demo, libraries, but I get lost among so many things. Many are old and not operational.
I don't really know the difference between what I use and Oauth2
you posted a link to a oAuth solution from another member. Earlier in this thread.
Or search for dropbox oauth. Even check my http-wrapper for dropbox and the relevant thread.