Problem with facebook API

Asked

Viewed 20,447 times

7

On the site, I’m using the facebook API to login, only when I try to login through the facebook button appears this message:

Unable to load URL: The domain of that URL is not included in the application domains. To load this URL, add all domains and subdomains to the Application Domains field in application settings.

Can anyone tell me what it might be?

  • You have to go into the App settings on Facebook and add your domain there. If I’m not mistaken it doesn’t work http://localhost. Must be a real domain.

  • @Gumball settings? in my same code?

  • No. There where you created your APP on Facebook. You came to create an App ?

  • So I used the netbeans api to log into the site from facebook. @Gumball

  • 1

    I get it... But I think you have to have an APP created on Facebook to log into it. Why I did it on a system.

  • Yes, you must access facebook apps, create the app, and set a domain (www.seuapp.com.br for example), so the integration will ONLY accept requests from the specified domain.

Show 1 more comment

1 answer

9

You must select the domain for the App, if you are on localhost, just put the localhost as the domain of the app, if not put the domain that tries to access: Basta escrever o dominio no campo App Domains

I hope I’ve helped!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.