I have always developed my projects using MAMP locally and once done simply uploaded everything to a live server. However, I’m wanting to integrate some FB functionality in my current project and I believe I’m correct in saying that it is not possible to fully test FB integration locally. My problem is I don’t want to release the project I’m working on until it’s finished (or at least nearly finished!) by placing it on a live server. I don’t even want people to see a login screen or anything. Is there a way I can upload everything to my domain for testing purposes but prevent anyone apart from me from accessing the site?
I have always developed my projects using MAMP locally and once done simply uploaded
Share
It is possible to test almost everything (with quite rare exclusions) related to FB locally.
The only exceptions I can recall are:
Btw, if there are another issues I forgot and you’re experiencing – you can create test domain with such
.htaccessin its root:Where
69.63.176.0/20equals to69.63.176.0 - 69.63.191.255and belongs to facebook and.htpasswdis a password file created with console utilityhtpasswdWith such
.htaccesseveryone except of someone with facebook IP will be required to enter valid login/pass trough basic http auth.Also, if you have dynamic but your own IP (given to only you once you logged in your pppoe (or whatever you use) session, and changes after you re-logged in) – you could use
http://no-ip.organd have your local host to be shared outside, and available for facebook thus.