To find the ID of your Facebook app, first log in to your account on the Facebook developers page : Facebook for Developers
.
Next go to the "My Apps" section.
There is a overview of all your apps and the app ID is right below the name of the app.