1. What you need
Creating a Facebook application can be simple and fast, but it may require you to have some resources at your disposal. The first thing you need to be aware of before starting is that Facebook does not host applications. However, prior to proceeding with application development, you must have access to a server on which you can host your Facebook application files. This server could support one of many languages supported by Facebook: PHP, ASP, Java and Perl … Other than that you’d need just some basic Web development skills to get it rolling!
2. Facebook Application Developer Platform
Before you begin creating your first Facebook application, you must add the Facebook Developer application (http://www.facebook.com/developers/). It will give you all the tools for creating your commercial applications. Once it is installed, launch the Facebook Developer application to create the profile of your future application.
3. Fill out the form creation
Start Facebook Application Developer Program and click “Set up New Application” to start creating your Facebook application. Furthermore, what Facebook application platform needs to create your application is its name plus some fields that are required to run any application:
- Callback URL. This URL must match the address on your application on your server.
- Canvas Page URL. This URL is the address of your Facebook application. Each application must use a unique address, so you find an original ID!
4. Some other important options
- Use FBML /Use iframe: Prefer using FBML as it is the common choice and most documented scripting language for developing Facebook Application.
- Application type: Website / Desktop. Here, we develop an application designed to be used directly on Facebook.
- Can your application be added on Facebook? In other words: Does this application can be used on Facebook? Choose Yes to be able to add this application to your account to test example.
This action causes the appearance of two categories of options: Install Options and Integration Point, it works as an immediate check in Developer Mode Installation Options so that no one, other than the developer (you) can add the application on Facebook. Then copy your Canvas Page URL in the Side Nav URL Class Integration Point.
A detailed description is available at: http://www.marketing-ninja.com/facebook-app/starting-your-first-facebook-app-demystifying-application-form-field-by-field/.
Once configured with profile, Facebook saves your application in its database and provides two valuable pieces information for the following operations: an API Key and Secret. These two elements will be used in your application code to communicate with the services provided by Facebook. Now that the application is in order, it is time to give it life.
5. Choose a programming language
Developing a Facebook application resembles that of a Web application, where all the features supported by Facebook. From allowing users to manage their social network to making account changes, everything is supported by the platform.
Facebook offers its API (Application Programming Interface) for many languages. You can find them and download them at: http://wiki.developers.facebook.com/index.php/Main_Page.
If you already have experience with developing Web applications, it is likely that you will find the languages known among those proposed. If you want your application to be entirely a web based app, PHP 5 is a good option to start with as you can find quite many tutorials guiding you to develop a Facebook Application in PHP.


