Facebook app creation app domain error

瘦欲@ 提交于 2019-12-03 02:57:35

问题


I'm trying to create Facebook app. Yet I had trouble right after creation wizard done his work.

Changing nothing in what wizard created I've got an error:

Error
You have specified an App Domain but have not specified a valid integration URL.
secure-citadel-xxxx.herokuapp.com must be derived from one of: Site URL, Mobile
Site URL, Canvas URL, Secure Canvas URL, Page Tab URL or Secure Page Tab URL.

I googled it and found no answer at what it might be..

Adding http:// and so on doesn't make anything more than another error of domain being invalid.

Does anyone know ho to deal with it?


回答1:


Facebook changed their user interface for developer apps, so this can be tricky to find. For future people visiting:

  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.



回答2:


The only allowed values in the App Domains field are URLs you already entered in at least one of you Select how your app integrates with Facebook block:

  • Website with Facebook Login - URL
  • App on Facebook - Canvas
  • etc for the others



回答3:


you should "add platform" first, input your website url and after that you'll be able to save the App Domain




回答4:


There is a tab called "Website with Facebook Login" in "Select how your app integrates with Facebook" box. This is under the Basic info container. Paste your full url there "http://www.example.com/" and then place "example.com" into "Basic info App Domains" input.



来源:https://stackoverflow.com/questions/13552791/facebook-app-creation-app-domain-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!