To use the Facebook tools, like the Facebook registration tool, you need to create a Facebook App. When you make a Facebook App, that app will have an App ID and an App Secret. With the App ID, you can send several requests to Facebook for data. The Facebook App Secret will be used to decode the encrypted messages from Facebook, so that sensitive information remains protected.
How to: Facebook App ID + App Secret
To complete the following steps you will need to have access to a Facebook account. If you don't have a Facebook account, you can create one here: https://www.facebook.com/
Step 1: Go to http://developers.facebook.com and login with your Facebook account. (Go to Step 3 if you already have a Facebook developer account.)
Step 2: If you don't already have a Facebook Developer account, click on the "Apps" button in the top title bar of the web page. Follow the steps in the wizard to register as a Facebook developer.
Step 3: Once you're registered as a Facebook developer, click on the "Apps" button in the top title bar of the web page. Click on the "Create New App" button in the drop down menu to create a new Facebook app.
Step 4: Enter a "Display Name," "Contact Email," and choose a "Category" for your app. When completed, click on "Create App ID"
Step 5: You will be redirected to a "Product Setup" page. In the left vertical menu, click on "Dashboard"
Step 6: Your App ID and App Secret are available in this page. Click on the "Show" button and enter your Facebook account's password to get the App Secret.
Step 7: Once the Facebook app has successfully been created, you still need to set the app live before the necessary key (App ID and App Secret) can be used by your AppMachine app. You can set the app live in the "App Review" page of the app.