The Goal: Create A Simple Facebook App to Receive an App ID and Secret Key.
Fan pages do not have app Id and app secret, but apps do. You can view a list of all apps for which you are an admin or developer or tester at https
How to Get Facebook APP ID and Facebook App Secret Key. To get the Facebook App ID and Secret key, you have to create the Facebook App. 1. For that visit, Facebook developers page using the following link.
2) Securing your Facebook App API codes: The conventional wisdom when creating your Facebook Fan Page Application ID & App Secret ID is, you are doing so for a 'Public Fanpage' and thus hackers really can't do much of anything with this data.
How to create a Basic Facebook APP & get App ID & Secret Key
When you make a Facebook App, that app will have an App ID and an App Secret.
On this page you can retrieve your App ID and App Secret. Click Show to reveal the App Secret (you may be required to re-enter your Facebook password).
In this tutorial, we take a look at using the Facebook PHP SDK to connect to a Facebook app, retrieve the graph data from a Facebook page, and output it in a neat, nice looking format.
After creating a Facebook page where we will pull our data, we have to create an app to get an appId and appSecret keys.
The main thing to note from the application settings page is the App ID and App Secret near the top. These values are your application’s credentials to Facebook.