0

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

munish
  • 1

3 Answers3

0

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

without the action and url paramters.

RaniDevpr
  • 410
  • 2
  • 13
0

Facebook login "given URL not allowed by application configuration"

Community
  • 1
  • 1
Artem Koshelev
  • 10,548
  • 4
  • 36
  • 68
0

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...

Kieron
  • 26,748
  • 16
  • 78
  • 122