Facebook会话数据无法恢复 [英] Facebook session data not recovering

查看:198
本文介绍了Facebook会话数据无法恢复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Unity 5.1.1,Facebook 7.0.2 Beta,并在Android 5.1和iOS 8.4设备上进行了测试.

I'm on Unity 5.1.1, Facebook 7.0.2 beta and testing on Android 5.1 and iOS 8.4 devices.

我正在使用"status = true"进行FB.Init();以恢复会话和自动登录".但是我的问题是它不起作用.当我在onInitComplete中调用Init时,回调FB.IsLoggedIn始终返回false.

I'm doing FB.Init(); with "status = true" to recover the session and "autologin". But my problem is that it doesn't work. When I call Init in onInitComplete callback FB.IsLoggedIn returns always false.

我已经在示例项目和带有示例场景的空白项目中尝试过.在示例场景中,我单击FB.InitFB.Login,然后登录,然后关闭应用程序并再次打开,我必须再次登录.

I have tried in my project and in a blank project with the example scene. In the example scene I click on FB.Init, FB.Login, I log in then I close the app and open again and I have to login again.

这是一个错误吗?

推荐答案

我们遇到了同样的问题.这是Facebook的错误. Init调用的结果似乎根本不包含有关播放器的任何信息.实际上,根据当前平台的不同,它会包含不同类型的无用数据.

We're having the same issue. It is a bug on Facebook's part. The result of the Init call doesn't seem to include any information about the player at all. In fact, it includes different type of useless data depending on the current platform.

Facebook已经确认了该错误,他们表示已在尚未发布的下一个版本中对其进行了修复.您可以在此处查看该错误和确认.

Facebook has acknowledged the bug and they said it's fixed in the next build which hasn't been released yet. You can see the bug and that acknowledgment here.

https://developers.facebook.com/bugs/1459551294340956/?search_id

这篇关于Facebook会话数据无法恢复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆