Recently Facebook announced a partnership with cloud application platform Heroku. It will allow users to create sample applications in their choice of language environment for free, rather than having to set up and pay for their own hosting right from the beginning.Facebook Application using developer page
Give Application Name, namespace and agree terms
Once you created your application, you should see there is a Cloud Service area, click on the Get Started button.
Heroku is the only option in this dialog, so click Next.
Choose your favorite programming language from the dropdown (Ruby, Node.js, Python, and PHP are currently available). Enter the email address you wish to use for your Heroku user account, then click Create.
You’ll be taken to a success dialog:
Next, the apps will be ready, your Heroku account will be created base on your Facebook email, if you are Heroku existing customer, it will just link to your Heroku account.
click Go to app to visit your new app.
Because you’re visiting your app as a user, you need to grant permission for the app to access your Facebook profile by clicking Allow:
Congratulations! You now have your very own Facebook app, running on Heroku:
Now that you've got a running app, next we need to get access to the source code to build our Facebook Application, download the Heroku toolkit from developer page.