Facebook错误应用程序域名:[IP地址]不是有效的域名。 [英] facebook Error App Domain: [IP Address] is not a valid domain.?

查看:239
本文介绍了Facebook错误应用程序域名:[IP地址]不是有效的域名。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Facebook应用程序中将生产服务器的IP地址设置为App域,但不保存。它返回错误,因为App域无效。所以我不能使用我的Facebook连接API。



我们可以在FB应用程序中提供IP地址作为App域吗?如果不是,另外要做什么?

解决方案

不,它看起来像应用程序域只能是一个域而不是一个IP地址。



例如,在应用设置页面中,App Domain附近的?位置可以看到:


在域和子域上启用认证


另外,我发现这个页面: http://developers.facebook.com/docs/appproperties/ 它是指REST api,所以它不是最新的,但它清楚地表明,有两个不同的属性:base_domain和ip_list。



我建议你尝试放一个正常域名,看看会发生什么。


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?

解决方案

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.

这篇关于Facebook错误应用程序域名:[IP地址]不是有效的域名。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆