Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do I need a live site to test Facebook Connect?

Tags:

php

facebook

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

like image 577
JasonDavis Avatar asked Dec 27 '09 14:12

JasonDavis


2 Answers

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

like image 184
zedoo Avatar answered Oct 13 '22 11:10

zedoo


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

like image 38
Scott Evernden Avatar answered Oct 13 '22 12:10

Scott Evernden