启用 Facebook 2013 年 2 月的重大更改:登录不起作用 [英] Enabling Facebook Breaking Changes Feb 2013: login Does Not Work
问题描述
我正在使用 ios 和使用 facebook 登录处理 phonegap.但是在 2 月 6 日,它在登录 facebook 时向用户提供了错误.
I am working on phonegap with ios and using facebook login. but on feb 6, its giving errors to users while login to facebook.
使用 Facebook 登录应用程序时 - 对话框显示以下消息:发生错误.请稍后重试.
When logging into the app using Facebook - the dialog shows this message: "An error occurred. Please try again later.
我浏览了 fb 手册并在2013 年 2 月的重大变化"中启用了迁移.还是不行.
I go through fb manual and enable migration in "February 2013 Breaking Changes". it still not worked.
有人可以帮我吗?
已
我参考了 facebook DOC 并找到了这个
I reffer to facebook DOC and found this
以下更改将于 2013 年 2 月 6 日生效:内容消费的自定义操作结束我们将不再显示仅由消费内容的用户发布的自定义开放图谱操作.如果您拥有其中一项操作并且之前已获得批准,您将收到我们的电子邮件.开发人员应停止发布这些操作,因为这样做会从 2 月 6 日开始返回错误.唯一可以在用户消费内容时发布的操作是内置操作.有关详细信息,请参阅此博文."
那里给出的解决方案是将迁移选项从禁用"迁移到启用",我这样做了,即使他们给我确认问题已解决但问题仍然存在.
the solution given over there is to make migration oprion from "disabled" to "enabled" which i do,even they give me confirmation that problem resolved but problem is still on.
工作:这并不奇怪,但现在我的两个链接都运行良好,如下面的回答所述.
Working : Its little surprising but now both of my links working well as describe below in answer.
推荐答案
已解决:
我现在可以登录了,使用图形 API 的 facebook 文档几乎没有变化.我的问题只是通过替换 url 来解决.
i am able to login now,there is little change in facebook doc for using graph api. my issue solved by just replacing url from.
"https://graph.facebook.com/oauth/authorize?client_id=404196699634359&redirect_uri=http://www.facebook.com...."
到
"http://facebook.com/dialog/oauth?client_id=404196699634359&redirect_uri=http://www.facebook.com..."
"http://facebook.com/dialog/oauth?client_id=404196699634359&redirect_uri=http://www.facebook.com..."
最后我的应用程序像以前一样工作.特别感谢这个http://developers.facebook.com/bugs/207955409343730?browse=search_5111f1ed718835f53574450" rel="nofollow">http://developers.facebook.com/bugs/207955409343730?browse=search_5111f1ed718835c
And finally my app workes as before. special thanks to this http://developers.facebook.com/bugs/207955409343730?browse=search_5111f1ed718835f53574450
这篇关于启用 Facebook 2013 年 2 月的重大更改:登录不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!