Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I give my production server IP address as App domain in facebook application but it's not saved. It returns error as App domain is not valid. So that I cannot use my facebook connect API.

Can we give IP address as App domain in FB application? If it's not, what is the other way to do?

like image 575
name-it Avatar asked Feb 17 '12 15:02

name-it


People also ask

What is a domain error on Facebook?

The error message displays because a field in the Facebook Login app has invalid information. The error message informs about the issue: Can't load URL: The domain of this URL isn't included in the app's domains.

What is Facebook app domain?

the app domain is your domain name. Before you enter your domain, first click on Add Platform, select website, enter your site URL and mobile site url. Save the settings. Thereafter, you can enter the domain name in the App domains field.

Is an IP address a valid domain name?

An Internet Protocol, or IP, address is different than a domain name. The IP address is an actual set of numerical instructions. It communicates exact information about the address in a way that is useful to the computer but makes no sense to humans. The domain name functions as a link to the IP address.


2 Answers

No, it looks like the app domain can only be a domain and not an ip address.

For example in the app settings page, near the App Domain hover the '?' and see:

Enable auth on domains and subdomain(s)

Also, I found this page: http://developers.facebook.com/docs/appproperties/ it refers to the REST api and so it's not that up to date, but it clearly states there that there are two different properties: base_domain(s) and ip_list.

I suggest that you try to put a normal domain and see what happens.

like image 135
Nitzan Tomer Avatar answered Nov 04 '22 04:11

Nitzan Tomer


All Wrong answers. Here is the true

You must click (+ add platform)

then Select Platform choose app I select website the planet icon

Enter Site URL http://www.yoursitehere.com Mobile Site URL http://www.yoursitehere.com

go back and enter in App Domains: yoursitehere.com

now click save

go to Status and Review Do you want to make this app and all its live features available to the general public?

change or move to (YES)

like image 36
user3251398 Avatar answered Nov 04 '22 05:11

user3251398