Step 1 : You should have your Facebook account.
Step 2 : To begin integrating with Facebook Platform, go to Apps For Generate app Id.
Step 3 : click ‘Create New App’, and then enter your app’s basic information like.
Step 4 : Enter the App name, App Name Space and if you have web hosting and then just mark on that check box
Step 5 : Then Press Continue Then you got one screen and App Id and App Secret id
this will very used to integrate your face book profile into your mobile app,web app and Facebook game.
For Video Reference refer this.