简体   繁体   中英

Do I need a live site to test Facebook Connect?

I am trying to integrate facebook connect with nmy social network site, currently users create and login with there own account on my site but I am wanting to allow users to basicly create a new account on my site but use the facebook connect to login, I think it will be pretty easy on my site the way I have my user database setup, I have a login table and a user table so with facebook connect the user would just have a user table and not a login table record.

Ok my problem is my site is currently not online, it is all localhost right now, when doing facebook connect for testing/integration do you have to have an active domain? I know you have to use your domain in the signup process at facebook

I think it works with localhost. This one also says it works: http://www.bluishcoder.co.nz/2009/02/testing-facebook-connect-locally.html

What I do is place the site's hostname in etc\\hosts file, directed to 127.0.0.1 -- eg:

127.0.0.1  mysite.com

if i need to browse to the real mysite.com then i'll use http://www.mysite.com

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM