How to create app in facebook

facebook, facebook-graph-api

Solution

As the error message says, your site/canvas/etc... URL's have to be derived from your app-domain.

So if your app domain is: example.com

Your site url needs to contain this domain. So you can use for example:

https://example.com/myapp

https://example.com/mysupercoolapp.html

[...]

That, for example, would not work:

- https://some-other-domain.com/myapp

Additional Notes

- Always fill in your app domain first

- Make sure not to put protocol information into your app domain, just use your plain domain name (example.com instead of www.example.com or https://example.com)

- As of facebooks new app control panel the protocol you have to use for your site/canvas/tab url has always to use the https protocol

- Your app name is completely independent of of your URL settings

Problem

I am trying to create app in facebook but it is giving error while adding site url and app domain field error message for site url : "Something went wrong. We're working on getting it fixed as soon as we can." error message for app domain : "This must be derived from Canvas URL, Secure Canvas URL, Site URL, Mobile Site URL, Page Tab URL or Secure Page Tab URL. Check and correct the following domains: www.my-domainname.com"

Original source