Today, I've been trying to setup facebook app for localhost and I couldn't find the right solution for it. It was working in the past and I don't know what facebook updated with it...
Here's what I did:
I've created test app from one of my public app
In settings, I set site domain as "localhost" and site url as "http://localhost:8888/"
In settings/advanced, I set Valid OAuth redirect URIs as "http://localhost:8888/" again.
And when I try to login, I got the error message like below:
{ "error": { "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration", "type": "OAuthException", "code": 191 } }
Also I have public ip for my localhost and I tried to set it instead of localhost like "http://xx.xxx.xxx.xx:8888/" but it's still not working.
I'm really embarrased because it was working before. Can someone please help me out with this ?
Thanks in advance.
Here are the steps that worked for me getting my local app working with Facebook:
Part I:
Part II:
Part III: