Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App Domain: not a valid domain. Site URL is not a valid URL

I have a domain at http://qotr.net that I'm trying to set up as an app so that I can use OAuth. It was set up a few weeks ago, and we just now finished implementing the OAuth hooks on our application, when Facebook started giving us errors.

Now, when I go to the settings page, and edit anything, I get:

Error App Domain: qotr.net is not a valid domain. Site URL is not a valid URL.

I have: qotr.net for the app domain and http://qotr.net for the site url.

http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fqotr.net

Tells me that it can't parse qotr.net. The site is clearly up and usable, and Google OAuth works.

I can't find anything online on why it might not parse correctly; any ideas?

like image 739
Jack Lawson Avatar asked Nov 25 '22 05:11

Jack Lawson


2 Answers

in the App Domain, enter your site domain without the http:// or the www. Just put in, say for my website iamzang.com

For the site URL below the page, enter http://iamzang.com/

That will do the trick. I got the same error before and with this the domain is no longer invalid.

like image 179
Zang Caesar Avatar answered Dec 18 '22 18:12

Zang Caesar


You need to add a platform first. There you enter the full domain, e.g. http://www.yourdomain.com. Then set the App Domain to yourdomain.com!

like image 25
benlau Avatar answered Dec 18 '22 16:12

benlau