Facebook OAuth“发生错误"; [英] Facebook OAuth "An Error Has Occurred"

查看:137
本文介绍了Facebook OAuth“发生错误";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用OAuth对话框登录用户时遇到问题.该工具今天早些时候有效,因此我怀疑它可能与 2月重大更改结合使用.在 WomStreet 中查看制作过程.

I'm having issues getting users logged in with my OAuth Dialog. This was working earlier today, so I suspect that it might be in conjunction with the February Breaking Changes. See for yourself in production at WomStreet.

沙盒模式已禁用,已在Facebook开发者页面的基本设置"部分中正确设置了网址.

Sandbox mode is disabled, the URL's are set properly in the basic setting section the developer page in facebook.

我在Ruby on Rails上使用devise,但是即使手动检查URL看起来也不错.

I am using devise for Ruby on Rails, but even inspecting the URL by hand seems to look good.

关于从哪里开始调试的任何想法?

Any ideas on where to begin to debug?

更新1:似乎在Facebook上打开了一个针对此问题的错误报告:在此处链接

UPDATE 1: Seems there is a bug report open on Facebook addressing this issue: Link here

推荐答案

解决:在过去的24小时里,我一直在对此进行修改,我想我有解决方法,那就是至少两倍:

Solved: I have been tinkering with this for the past 24 hrs, and I think I have the solution, which is at least two-fold:

1)确保使用正确的网址:

1) Make sure you are using the correct url:

http://www.facebook.com/dialog/oauth?client_id=[APP_ID]&redirect_uri=[YOUR_REDIRECT_URI]&state=[STATE]&scope=[SCOPE]

2)登录Facebook,转到developers.facebook.com,单击顶部最中心的应用"链接.转到每个受影响的应用程序.您可能会在这些应用程序上看到红色的警报.如果您有警报,他们会指示您需要在2月6日之前启用2月重大更改.点击编辑应用".转到左侧的设置"->高级".请注意,为即将发生的重大更改提供了启用/禁用输入,并且请注意,此处不再列出2月.单击按钮上的保存更改",而无需实际更改-这显然是在悄悄地启用2月制动更改!请等待几分钟,以使更改生效.

2) Log into facebook, go to developers.facebook.com, click your 'Apps' link at the very top center. Go to each of the apps that is affected. You may notice a red Alert on these apps. If you have alerts, they will instruct you that you need to enable February Breaking Changes before Feb 6th. Click 'Edit App.' Go to Settings->Advanced on the left. Note that there are Enable/Disable inputs for upcoming Breaking changes, and note that February is no longer listed there. Click Save Changes at the button, without actually changing anything - this action is evidently quietly Enabling Feb Braking Changes! Wait a few minutes for the changes to take effect.

这篇关于Facebook OAuth“发生错误";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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