Android Question API access token expired in DROPBOX

netsistemas

Active Member
Licensed User
Longtime User
Reinstalo mi aplicación con:

Dropbox-core-sdk JAR 5.1.1 (y prueba también con 5.2)​

(para solucionar este otro error:​

)




y EL NUEVO PROBLEMA ES que el token expira en 5 horas aprox.

Leí este enlace:
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.

en

el botón 'generar token de acceso' devuelve un token similar.
aplicación b4x, devuelva también, un token similar.

como resolver
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
Sorry, OUR working hours.
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.
 
Upvote 0

netsistemas

Active Member
Licensed User
Longtime User
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
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…