Handle Facebook token expiration with Android app and webservices -


big problem. have android app working webservices (php) on server. users grant access facebook in app (using sdk 3.0), , access token stored on device. when needed, app send token server, php files interact facebook token (to display friends example).

my question: how handle token expiration in app? thank you.

in sdk 3.5.2 can this:

session.getactivesession().getexpirationdate() 

and have date of expiration of token. in sdk 3.0 dont know if possible call same method.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -