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

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

问题描述

我在 facebook 应用程序中将我的生产服务器 IP 地址作为应用程序域,但它没有保存.由于应用程序域无效,它返回错误.这样我就不能使用我的 Facebook 连接 API.

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.

我们可以在FB应用程序中提供IP地址作为应用程序域吗?如果不是,还有什么方法可以做?

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

推荐答案

不行,app 域好像只能是域,不能是 ip 地址.

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)

另外,我找到了这个页面:http://developers.facebook.com/docs/appproperties/ 它指的是 REST api,所以它不是最新的,但它明确指出有两个不同的属性:base_domain(s) 和 ip_list.

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天全站免登陆