Facebook API key is required for registering on any Facebook Connect ready website and also for developers to create any Facebook application. But most Facebook users are not aware of the method to get the required key from Facebook. If you want a Facebook API key but don’t know how to do so, here are some simple steps you need to follow to get your API key:
Type ‘http://facebook.com/developers’ in your address bar and visit the site. You will need to login using your usual Facebook login details.
A message box will display that will ask you for your permission to allow the “Developer” feature to access your profile. Simply click on Allow.
You will see a page where different features have been listed. On the right-hand corner you will see a tab named ‘+ Set Up New Application‘. Click on it.
You will be taken to a page where you are required to type a name for your app in the “Application Name‘ column. Also check the “I agree to the Facebook Terms” option and click on Continue.
Now you can see the details of your app, including the Application ID, API Key and Application Secret.