facebook api 错误代码:191 Asp.Net MVC 3 使用开发环境 localhost 和 ACS
过去几天我一直在尝试为我的身份提供商进行 ACS 集成。主要的 Google、Yahoo! 和 Live 都可以工作,但我无法让 Facebook 在我的本地主机开发环境中工作。 Facebook 还更改了他们的应用程序配置页面,我很困惑。
有谁知道配置 ACS 和 Facebook 协同工作的更新步骤?我的网址是: http://localhost/webapp1/ 我一直在浏览所有帖子,但由于情况发生了变化,旧的答案似乎不起作用。我知道它一定是在 Azure ACS 或 Facebook 应用程序设置中的某个设置页面上,或者是我的 web.config 存在问题。我将非常感谢所有的帮助。
I have been trying for the last couple of days to get the ACS integration for my identity providers. The main ones work, Google, Yahoo!, and Live, but I cannot get Facebook to work with my localhost dev environment. Also Facebook has changed their Apps Configuration Pages and I am confused.
Does anyone know the updated Step by Step for configuring ACS and Facebook to work together? My url is: http://localhost/webapp1/
I have been looking through all the posts but since things have changed, the old answers do not seem to work. I know it must be either on one of the setup pages in Azure ACS or in Facebook Apps Setup or a problem with my web.config. I would greatly appreciate all help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当我为 Facebook 设置 ACS 并从本地计算机运行它时,我遇到了类似的问题。我在 Facebook 上错误地设置了我的应用程序,而我的 Azure ACS 配置实际上是正确的。我在 Facebook 网站的网站 URL 设置字段中使用“localhost/myapp”,但我需要将其更改为使用完整的 ACS 命名空间 对于我的应用程序:(您的特定命名空间会有所不同,请检查您的 ACS 设置以了解详细信息)
我注意到您提到您的 URL 是:“http://localhost/webapp1/”,我不是确定这是否是您的具体问题,但希望这可以帮其他人节省一点的时间。
I had a similar problem when I setup ACS for Facebook and ran it from my local machine. I had erroneously setup my application on Facebook, while my Azure ACS configuration was actually correct. I was using 'localhost/myapp' on the Site URL setup field on the Facebook site but I needed to change it to use the full ACS namespace for my application: (Your specific namespace will vary, please check your ACS settings for details)
I noticed you mentioned that your URL was: "http://localhost/webapp1/", I am not sure if this was your specific problem but hopefully this saves someone else a bit of time.
这应该可以工作(请参阅 Facebook API 错误 191 了解旧示例)
检查您的域配置是否正确在应用程序设置中,使用的 URL 与您告诉 Facebook 您将使用的 URL 非常匹配。
This should work (see Facebook API error 191 for an older example)
Check your domain is configured correctly in the app settings, the URL used much match what you've told Facebook you'll be using.