当设备上安装了官方Facebook应用时,Corona facebook.logout() [英] Corona facebook.logout() when the Official Facebook app is installed on device
问题描述
当我想从Facebook登出并且设备上已安装正式的Facebook应用时,我遇到了一个小问题.
I have a little issue when I want to logout from Facebook and the official Facebook app is installed on device.
在调用facebook.logout()
之后,我将调用新的facebook.login( appId, fbListener, {"publish_stream"} )
,该新的facebook.login( appId, fbListener, {"publish_stream"} )
不会为新用户调用该应用程序,只需使用旧的用户名和密码即可简单登录.
After facebook.logout()
is called then I call the new facebook.login( appId, fbListener, {"publish_stream"} )
that doesn't call the app for new user, simple log in with the old username and password.
推荐答案
如果用户在官方FB应用程序上登录了自己的帐户,这就是工作原理,如果我没记错的话,这应该可以简化此过程. . (可能需要参考FB文档以获取有关该过程的更详细说明.)
That's how it is meant to work if the user is logged in to their account on the official FB app, it's supposed to simplify the process, if I recall correctly. (May want to refer to FB docs for more detailed explanation of the process.)
这篇关于当设备上安装了官方Facebook应用时,Corona facebook.logout()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!