codeofaninja
website

How To Get Facebook App ID and Secret Keys?

Photo of Mike Dalisay
Modified Wednesday, February 27, 2013
by - @ninjazhai
After creating a Facebook page where we will pull our data, we have to create an app to get an appId and appSecret keys. Those keys are required to use the Facebook PHP SDK and do our queries like pulling Facebook photos, events, videos, and feeds. Here's a step by step tutorial on how to get those keys.

Facebook developer apps dashboard.

Step 1

Here's the link where you would start: create a Facebook app. On the pop up, specify your app name (the name of your website or app) and app namespace (used for your Facebook app URL e.g., http://apps.facebook.com/yournamespace) 

Facebook appId and appSecret
Creating an app. Click to enlarge.

Step 2

You'll be asked to enter a security code to verify that you're a human and not a bot or malware that creates random Facebook apps. After entering the text in the box, click the "Continue" button.

Facebook appId and appSecret - security check
A security check. Click to enlarge.

Step 3

Congrats! now you can copy your Facebook appId and appSecret. See the arrows below.

copy your Facebook appId and appSecret
Your Facebook appId and appSecret keys. Click to enlarge.

For FREE programming tutorials, click the red button below and subscribe! :)
Thanks for the comments!
 
 
Fundamentals
"First do it, then do it right, then do it better."
~ Addy Osmani
"Talk is cheap. Show me the code."
~ Linus Torvalds
Let's Stay Connected!
g+ r
Android app on Google Play
© 2011-2014 The Code Of A Ninja. All rights reserved. Proudly Powered by Google Blogger. Images, logos, marks or names mentioned herein are the property of their respective owners.