开发者

configure mvc.net application on facebook

开发者 https://www.devze.com 2023-02-03 23:45 出处:网络
I have integrated facebook in my application mvc.net application. I have configured my apllication on face book

I have integrated facebook in my application mvc.net application. I have configured my apllication on face book with the url : http://localhost:portnumber/Home/Test?Return="ok"

when i run the application then it opened pop up of facebook having two text 开发者_运维技巧boexs for user name and password with warning message: "Given URL is not allowed by the Application configuration"

In my application Test is the name of Action method of controller

Please suggest me how to handle this.

Thanks

Munish


Facebook login "given URL not allowed by application configuration"


I'm assuming that's because you're giving localhost as the host name to Facebook? You'll need a public URL, localhost is private to your machine, so it can't be seen remotely...


i think you should only indicate the domain for example: http://localhost:portnumber/

without the action and url paramters.

0

精彩评论

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