Featured post
How to avoid already-authorized in Android Facebook SDK -
i'm getting useless page when use single sign on facebook's android sdk.
"you have authorized happyapp. press "okay" continue.
this page destroy user experience. how heck rid of it. lots of people have been seeing this, no solution posted.
even facebook admits problem, see: http://forum.developers.facebook.net/viewtopic.php?id=84548
does know work-around?
the way did (without additional oauth solution) store off access token in preferences kieveli suggested. when main activity starts, token preferences, if it's not there initiate authorization process , store resulting token in preferences.
the harder part handle token expiration or de-authorization of app (ie. token in preferences, no longer valid).
for case, every fb api/graph invocation, check exception indicating authentication failed. if fails, initiate authorization/token storing procedure again.
- Get link
- X
- Other Apps
Comments
Post a Comment