Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up Facebook App Domain as IP Address

I have a login with facebook on my website which I was testing locally on localhost. Now I have put it on a server and I am trying to change the facebook app configuration so I could make the login. Before I had:

App Domain:
localhost

Site URL:
http://localhost/

Mobile URL:
http://localhost/

Now I am trying to change localhost for my website IP address: 107.170.**.**7:8776, so first I set the Site URL and Mobile URL to http://107.170.**.**7:8776/ but when I try to set the App domain to 107.170.**.**7:8776 I get an exclamation saying:

This must be derived from Canvas URL, Secure Canvas URL, Unity Binary URL, Site URL, Mobile Site URL, Page Tab URL or Secure Page Tab URL. Check and correct the following domains: 107.170.**.**7:8776

What am I missing here?

Thanks in advance.

like image 532
João Menighin Avatar asked Oct 20 '22 21:10

João Menighin


1 Answers

Facebook appears to require a valid domain instead of an IP address. Not sure why, as they don't mention this in the facebook developer docs anywhere (from what I can tell)

More info: facebook Error App Domain: [IP Address] is not a valid domain.?

like image 92
theBarkman Avatar answered Oct 22 '22 22:10

theBarkman