Happy Coding
Monday, December 3, 2012
Test facebook login locally
It's simple enough when you find out.
Open
/etc/hosts
(unix) or
C:\WINDOWS\system32\drivers\etc\hosts
.
If your domain is foo.com, then add this line:
127.0.0.1 local.foo.com
When you are testing, open
local.foo.com
in your browser and it should work.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment