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
- 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.
- 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.
- 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.
- API key and secret for your App : After that you will get API key and secret. There two are very essential for your app.
- 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.
- 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.