facebook app development

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?


It is possible to test almost everything (with quite rare exclusions) related to FB locally.

The only exceptions I can recall are:

  1. Attachments to stream messages
  2. Subscriptions

Btw, if there are another issues I forgot and you're experiencing - you can create test domain with such .htaccess in its root:

Order deny,allow
Deny from all
AuthName "Password"
AuthType Basic
AuthUserFile /path/to/.htpasswd
Require valid-user

Allow from
Satisfy Any

Where equals to - and belongs to facebook and .htpasswd is a password file created with console utility htpasswd

htpasswd -c /path/to/.htpasswd musoNic80 // and enter password after

With such .htaccess everyone 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.org and have your local host to be shared outside, and available for facebook thus.

Need Your Help

How to stock and use a shiro's salt from database

java database salt shiro

I use shiro in application for the authenticate. I use hashed password with a salt and I store them in my database like this :

iphone uiviewcontroller not displaying?

iphone objective-c xcode4.2

I am new to iphone development with objective C and XCode 4.2. Right now I successfully instantiated a UITableViewController and it can traverse a multi level json data tree. however, I'm having