App domains must match the domain of the Facebook

2020-06-07 06:42发布

I am developing Spring Boot + Facebook Integration example. In this example, I've created an at app https://developers.facebook.com/. The screen shot of the created app shown below.

Also when I was passing the Domain name I am getting the below error:

App domains must match the domain of the Facebook Web Games URL (https), Mobile 
Site URL, Unity Binary URL, Site URL or Secure Page Tab URL. Please correct these
domains: localhost

enter image description here

I am using the same code mentioned in the URL blocked: This redirect failed because the redirect URI is not white-listed in the app's client OAuth settings. Make sure that the client and web .

Please guide and let me know if need any other details.

3条回答
Lonely孤独者°
2楼-- · 2020-06-07 07:37

You need to add the platform (website, facebook web games, android, etc.) your app is running on first. See The explanation from Facebook

查看更多
我想做一个坏孩纸
3楼-- · 2020-06-07 07:38

Add localhost under the Website > Site URL save and then add localhost in the App domain.

查看更多
够拽才男人
4楼-- · 2020-06-07 07:43

1 - Click Apps and then select your app.

2 - Click the Settings button on the left side of the screen.

3 - In the Basic settings, click the Add Platform button below the settings configuration.

4 -Select Website in the platform dialog.

5 - Enter your URL (localhost works here).

6 - In the App Domains text input, add your domain that matches the one in the URL.

7 - Save your settings.

Check this link for detail

查看更多
登录 后发表回答