API 错误代码:191 [英] API Error Code: 191

查看:41
本文介绍了API 错误代码:191的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是的,收到 191 错误.我已经研究过并发现这个问题很有帮助:Facebook API 错误 191

yep, getting the 191 error. I've researched and found this question to be helpful: Facebook API error 191

我的网址如下:

https://www.facebook.com/dialog/oauth?client_id=&redirect_uri=http%3a%2f%2flocalhost%2fFb.201109Birthday%2fOAuth2.aspx

https://www.facebook.com/dialog/oauth?client_id=&redirect_uri=http%3a%2f%2flocalhost%2fFb.201109Birthday%2fOAuth2.aspx

但是,我收到一个错误:

However, I get an error:

API 错误代码:191 API 错误说明:指定的 URL 不是归应用程序所有 错误消息:Invalid redirect_uri: Given应用程序配置不允许使用 URL.

API Error Code: 191 API Error Description: The specified URL is not owned by the application Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.

我在任何地方都读到过,网址必须与应用程序设置页面中列出的内容相匹配.我有

I've read everywhere that the urls must match up to what's listed in the application's setting page. I've got

我还尝试了 local.facebook-apps.com(用local.facebook-apps.com"替换了上面的localhost"),并使用一个指向 127.0.0.1 的主机文件条目.但所有这些场景仍然给出了 191.

I've also tried local.facebook-apps.com (replaced "localhost" everywhere above with "local.facebook-apps.com") with a hosts file entry to point to 127.0.0.1. But all of these scenarios still give the 191.

推荐答案

从 Canvas URL 中删除 Birthday.aspx.

Remove the Birthday.aspx from the Canvas URLs.

这篇关于API 错误代码:191的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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