Reputation: 381
I'm trying to run my facebook app on wamp. I downloaded my source code from git and copied all the files in the www directory (wamp/www) and named the file mynewherokuapp. I set in facebook website>url>http://localhost/mynewherokuapp/ . Why do i get this error: "An error occurred. Please try later.".
Upvotes: 2
Views: 1060
Reputation: 47996
You'll have to place an entry in your hosts
file mapping a fake domain name to 127.0.0.1
something like :
127.0.0.1 fbDev.local.com
Obviously fbDev.local.com
is not a real domain owned by you, but your system will treat all calls to that domain as if they were to localhost (127.0.0.1).
Then in your app settings you place your fake domain in the URL fields.
Upvotes: 2