Facebook会话数据无法恢复

编程入门 行业动态 更新时间:2024-10-26 05:29:29
本文介绍了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.Init,FB.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.

developers.facebook/bugs/1459551294340956/?search_id

更多推荐

Facebook会话数据无法恢复

本文发布于:2023-10-11 22:24:41,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1483013.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数据   Facebook

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!