测试Facebook连接到本地主机 [英] Testing facebook connect on localhost
问题描述
我想测试一个Facebook在我的本地连接。在Facebook的开发者页面的应用程序设置我试图改变用Facebook登录网站,以的http:// localsitename:8888
但我给出了一个错误:
I'm trying to test a facebook connect on my localhost. In the app settings in the facebook developer page I tried changing "Website with facebook login" to http://localsitename:8888
but I am given an error:
Error
Site URL must be a URL with a valid domain.
我看了,别人已经设法成功地做到这一点。有没有人发现周围工作呢?
I have read where others have managed to do this successfully. Has anyone found a work around for this?
推荐答案
看起来像Facebook只接受本地主机
作为域名不含任何点。
Looks like Facebook accepts only localhost
as a domain name without any dots in it.
请本地站点的名称,就会在这一个点,那么它应该可以正常使用 - localsite.name
, mytestsite.local
甚至 foo.bar
...
Make your local site’s name something with a dot in it, then it should work fine – localsite.name
, mytestsite.local
or even foo.bar
…
这篇关于测试Facebook连接到本地主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!