I am trying to implement my first Facebook application and I am stuck at the very first stage of coding.
I created the application on the Facebook website, got my application id, and I am making an ASP.NET authentication application. It has only one line:
Response.Redirect (
"https://www.facebook.com/dialog/oauth?client_id=MYAPPID&redirect_uri=localhost");
When I run it, it redirects to facebook and I get:
An error has occurred with MYAPPNAME. Please try again later.
It retrieves the name of the application, so the identifier is correct, and there is very little else that I could be wrong :-)
I also tried using different URLs instead of localhost, and I am currently planning to use VPS to try it with a widely deployed web application if it doesnβt work with the local one.
The search found only a lot of posts complaining of similar problems, but not the same. I found this question that looks pretty similar, but the confirmed answer says a change to FB.init (), which I think is part of some SDK, so it is not applicable to me.
source
share