问题
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:
- Click
Apps
and then select your app. - Click the
Settings
button on the left side of the screen. - In the
Basic
settings, click theAdd Platform
button below the settings configuration. - Select
Website
in the platform dialog. - Enter your URL (
localhost
works here). - In the
App Domains
text input, add your domain that matches the one in the URL. - 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