How to build a Facebook application locally
From Facebook Developer Wiki
If you're just starting out with Facebook application development, you might find it cheaper (as in free) to start out by working on your project locally. For this, you will need:
- WAMP server, or similar.
- Internet Access
To find out how to create an application profile, refer to one of the many guides in doing so. To find out how to setup WAMP Server, look through the forums for WAMP Server[1]
Setting the Settings
Once you have WAMP Server setup and running, and you are able to access your server at http://localhost/, you will next need to setup your application's settings to reflect this. This is simple as going to Canvas in Settings, and setting the Canvas Callback URL to http://localhost/.
Notes
- I will add on how to install the Facebook API files shortly.
- Of course, seeing as this app will be ran locally, only you can access this app. This is recommended only if you plan to put a lot of work into an app, do not already have a web server, and wish to finish the project locally before uploading to a web server. This app of course, will not pass validation, so don't even try.
