我正在开发Spring Boot + Facebook集成示例。在这个例子中,我创建了一个at app https://developers.facebook.com/。下面显示了创建的应用程序的屏幕截图。
当我传递域名时,我收到以下错误:
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
如果需要任何其他细节,请指导并告诉我。
1 - 单击应用程序,然后选择您的应用程序。
2 - 单击屏幕左侧的“设置”按钮。
3 - 在“基本”设置中,单击设置配置下方的“添加平台”按钮。
4 - 在平台对话框中选择网站。
5 - 输入您的URL(localhost在这里工作)。
6 - 在“应用程序域”文本输入中,添加与URL中的域匹配的域。
7 - 保存设置。
您需要首先添加您的应用运行的平台(网站,Facebook网页游戏,Android等)。见The explanation from Facebook
在网站>站点URL保存下添加localhost
,然后在App域中添加localhost
。