Develop facebook application in localhost
===

I'm very new to facebook platform.
I've searched for developing facebook app locally, but not been able to understand.
Can anyone please give me step by step tutorial of how to do the same?