How to develop your New app in Facebook:
There are Six step of application development in PHP, Please read carefully all steps.
you develop any Facebook app you need to learn more about FQL, Facebook graph
1. Have a good knowledge about FQL, Facebook graph
If you want to develop your app in Facebook then you need good knowledge about FQL, Facebook graph, then you can easily develop you app in Facebook.
2. Register yourself as a developer:
The first stop you need to register yourself as a developer with Facebook website, After that Open your log-in page to your Facebook then go to 'developer' page. Here you can see 'create new app' option.
3. Create New Application:
The 2nd step which you need for development of apps are click on the 'New create apps' and then write the name of your application and which language you want to develop Facebook app.
4. API key and secret for your App:
After that you will get API key and secret. There two are very essential for your app.
5. Host your application on your website:
After competing these steps you have your own website then you can host your application on your website by providing URL while registering with Facebook developer or if you choose 'heroku' to host your Facebook app then you need to follow some extra steps. These steps will be explained by them while you registering.
6. Create your application in any language:
After completing these step you can create your application in any language, for this purpose you just push it on your heroku or website using command line.
Please following these step and create your new app for your Facebook.