开发者

facebook api error code: 191 Asp.Net MVC 3 using Dev Environment localhost and ACS

开发者 https://www.devze.com 2023-04-07 04:52 出处:网络
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 de

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开发者_JAVA百科 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.


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消