问题描述
是的,得到了191错误。
我研究发现这个问题是有帮助的:
yep, getting the 191 error.I've researched and found this question to be helpful:facebook api error 191
我的网址如下:
<一个href=\"https://www.facebook.com/dialog/oauth?client_id=\">https://www.facebook.com/dialog/oauth?client_id=&redirect_uri=http%3a%2f%2flocalhost%2fFb.201109Birthday%2fOAuth2.aspx
不过,我得到一个错误:
However, I get an error:
API错误code:191的API错误描述:指定的URL不
应用程序错误信息资:无效REDIRECT_URI:给定
URL不是由应用程序配置允许的。
我读过到处该URL必须达到什么在应用程序的设置页中列出相匹配。我有
I've read everywhere that the urls must match up to what's listed in the application's setting page. I've got
- 应用程序域=本地主机
- 画布URL = http://localhost/Fb.201109Birthday/Birthday.aspx?
- 安全画布URL = http://localhost/Fb.201109Birthday/Birthday.aspx?
- App Domain = localhost
- Canvas Url = http://localhost/Fb.201109Birthday/Birthday.aspx?
- Secure Canvas Url = http://localhost/Fb.201109Birthday/Birthday.aspx?
我也(用local.facebook-apps.com改为localhost的无处不在上面)试图local.facebook-apps.com与主机文件条目指向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.
推荐答案
从画布网址中删除Birthday.aspx。
Remove the Birthday.aspx from the Canvas URLs.
这篇关于API错误code:191的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!