[英]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
I am developing Spring Boot + Facebook Integration example.我正在开发Spring Boot + Facebook 集成示例。 In this example, I've created an at app https://developers.facebook.com/ .在此示例中,我创建了一个 at 应用程序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
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.我正在使用URL 中提到的相同代码被阻止:此重定向失败,因为重定向 URI 未在应用程序的客户端 OAuth 设置中列入白名单。 Make sure that the client and web . 确保客户端和 web 。
Please guide and let me know if need any other details.请指导并让我知道是否需要任何其他详细信息。
1 - Click Apps and then select your app. 1 - 单击应用程序,然后选择您的应用程序。
2 - Click the Settings button on the left side of the screen. 2 - 单击屏幕左侧的“设置”按钮。
3 - In the Basic settings, click the Add Platform button below the settings configuration. 3 - 在“基本”设置中,单击设置配置下方的“添加平台”按钮。
4 -Select Website in the platform dialog. 4 - 在平台对话框中选择网站。
5 - Enter your URL (localhost works here). 5 - 输入您的URL(localhost在这里工作)。
6 - In the App Domains text input, add your domain that matches the one in the URL. 6 - 在“应用程序域”文本输入中,添加与URL中的域匹配的域。
7 - Save your settings. 7 - 保存设置。
You need to add the platform (website, facebook web games, android, etc.) your app is running on first. 您需要首先添加您的应用运行的平台(网站,Facebook网页游戏,Android等)。 See The explanation from Facebook 请参阅Facebook的解释
在网站>站点URL保存下添加localhost
,然后在App域中添加localhost
。
1 - Be in development mode 1 - 处于开发模式
2 - In you facebook developer dashboard select the concerned app. 2 - 在您 facebook 开发人员仪表板 select 相关应用程序中。
3 - Go to the Settings button on the left side. 3 - Go 到左侧的设置按钮。
4 - In the Basic settings, click the Add Platform button below the settings configuration. 4 - 在基本设置中,单击设置配置下方的添加平台按钮。
5 -Select Website in the platform dialog. 5 - 在平台对话框中选择网站。
6 - Enter your URL (localhost works here). 6 - 输入您的 URL(本地主机在这里工作)。
7 - In the App Domains text input, add your domain that matches the one in the URL. 7 - 在 App Domains 文本输入中,添加与 URL 中的域匹配的域。
8 - Save your settings. 8 - 保存您的设置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.