Can Facebook's “Single Sign On” be achieved within a mobile web app?

我怕爱的太早我们不能终老 提交于 2019-12-05 16:37:28

Probably a bit late to the party but in case anyone else is wondering yes it's possible with Cordova/Phonegap and the Facebook Connect Plugin: https://github.com/davejohnson/phonegap-plugin-facebook-connect/

Using the FB.getLoginStatus() method at startup allows to check if the user is already signed in with the native Facebook App and retrieve its profile. More details in the examples provided in the repo.

I have not yet implemented it myself, but seems possible according to:

http://developers.facebook.com/docs/mobile/web/build/#login

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!