I have website where i need to login from Facebook account. when I login from facebook, get an error as,
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
From some other sites information, I have downloaded and installed pagekite
but still the error shows the same.
can anyone tell me how to rectify this. how to run and able to login to facebook.
Thanks in advance.
This one worked for me -
1.) In the developer.facebook.com, click on App.
2) Under settings in the "APP Domain" add localhost.
3) Click on "Add Platform" and choose "Website".
4) In the input box for site url add
http://localhost:portNumber/
(whatever port number is applicable example
http://localhost:9000/
for play framework)
5.) Save the changes, the Fb login should work on your localhost now.
Here's how to get it working:
localhost.localhost:port
APP_ID in the local application.localhost
http://localhost/
add this url in http://localhost in App Domains and http://localhost in siteurl in facebook app configuration
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With