Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create app in facebook

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"

like image 624
M Gaidhane Avatar asked Jan 08 '14 12:01

M Gaidhane


2 Answers

You need to set the website URL. On the app settings, you need to enable the "Website" platform and set the necessary URL there. (If it's not appearing, click "Add Platform".)

like image 114
Hoa Nguyen Avatar answered Dec 10 '22 02:12

Hoa Nguyen


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
like image 26
thpl Avatar answered Dec 10 '22 02:12

thpl