经过身份验证的引用不起作用,但 oauth url 有效
我有两种验证用户身份的方法。一种是我网站上的正常 oauth 方式:
这会返回一个代码,然后我可以用它来请求 auth_token。没有问题!
但是,当我单击 Facebook 内部配置为进行身份验证引用的链接时,我收到 Facebook 拒绝的代码,因此我没有获得 auth_token。
我通过身份验证引用得到的错误是: {“error”:{“message”:“验证验证码时出错。”,“type”:“OAuthException”}}
有什么想法吗?
I have two methods of authenticating users. One is the normal oauth way from my website:
This returns a code which I can then use to request an auth_token. No problems there!
However, when I click on a link internal to Facebook which is configured for authenticated referral, I get a code that Facebook rejects and therefore, I get no auth_token.
The error I get with authenticated referall is:
{"error":{"message":"Error validating verification code.","type":"OAuthException"}}
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从经过身份验证的推荐请求中获取当前 URL,并将其使用到“&code=..”。作为交换访问令牌时的redirect_uri。
Get the current URL from the authenticated referral request and use it up to the '&code=..'. as redirect_uri when exchanging access token.