문제

How can I develop a kiosk mode app which will be used for many different facebook users. Each one could have logout by my app and not by the official facebook app cause they will not have access to the official facebook app.

In response, a facebook employ told me this: https://developers.facebook.com/bugs/696057353756212

any suggestion is welcome.

도움이 되었습니까?

해결책

Basically, if you're building a kiosk app, you don't want to use SSO, since you cannot control who's logged into the Facebook app.

If you're using the LoginButton, it's as easy as doing something like:

loginButton.setLoginBehavior(SessionLoginBehavior.SUPPRESS_SSO);

And when your app exits, just do a closeAndClearTokenInformation() as you've already alluded to.

What SUPPRESS_SSO does is it will only bring up a web dialog for users to log in, and will bypass the Facebook app altogether.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top