Multi-Tab Template for Facebook Timeline Page Tabs!
Our TURNKEY template has all the code and files to create a website-like Page Tab.
See it in action, and learn more....

Tutorial: How to Create a Facebook Application to Get an App ID for your Website or Blog

Facebook Application IconFacebook has updated the way you integrate your website into its Open Graph, and how you set up Insights, Facebook’s analytics tool, to see how users are interacting with the social plugins — primarily the Like Button and the Comments Box — you’ve added to your website’s pages.

In this tutorial, I will describe the steps necessary to integrate your website with Facebook, by getting an App ID for your site and adding the Open Graph meta tags to your site’s pages.

Setting up your Website as a Facebook Application

First, you must set up your website as a Facebook “application” which provides you with an Application ID you use to integrate your website into Facebook’s Open Graph, so you can add Facebook’s Social Plugins to your site.

Installing the Facebook Developer Application

The first step in creating an application in Facebok is to install the Facebook Developer application.

To do that, log in to Facebook and then visit the URL http://facebook.com/developers.

If this is the first time you’ve installed the Developer Application, you will see the Request for Permission dialog show below:

Click the Allow button to proceed.

Creating the Facebook Application for your Website

Now that you have the Developer App installed, click on the Create New App button.

Facebook Create New App

Give you application an “App Display Name” (the name displayed to users).

For purposes of this tutorial, you don’t need to have a “Namespace”.

Click the “I agree to Facebook Platform Policies” box; then click the Continue button.

Create Facebook App Popup Dialog

On the next screen, enter the security phrase and then click Submit.

Facebook App - CAPTCHA

There are a lot of options you can tweak related to your application. In this post, we are going to focus on the basics needed to get your website set up with a Facebook App ID.

The Settings Tab

This is where you do the basic set up for your app.

For the purposes of this tutorial, you need to concern yourself only with the Basic Settings which will suffice for setting up your website as an application to get an App ID.

Facebook - App ID

OK, there’s your App ID! You’re almost there. Your App ID is the value you’ll be using to integrate your website with Facebook’s APIs so you can add the Social Plugins (Like Button, Send Button, Comments Box, etc.).

For the purposes of this tutorial, you won’t need your “App Secret” value.

Second, notice the “edit icon” below the App Secret. You don’t need to add an icon. If your website has a favicon, it will be displayed next to your site’s URL in Facebook Insights.

Basic info:

  • App Display Name: Make this the same as the original value you provided;
  • App Namespace: Leave blank;
  • Contact Email: Where you want Facebook to send emails regarding your app;
  • App Domain: just put “mydomain.com” where “mydomain.com” is your website’s domain URL (TLD);
  • Category: Select a category from the pulldown list (optional).

Cloud services

This is not applicable for a “website” Facebook application.

Select how your App integrates with Facebook

It’s here where you tell Facebook that your App is a website or blog.

Facebook App - Website

Once you’ve filled in your website or blog URL, click the “Save Changes” button and you’re done!

Your website is now an “object” in Facebook’s Open Graph, with its own App ID.

NEXT: How to Add the Open Graph Meta Tags and Social Plugins to your Website.

OR: How to Integrate your WordPress Website or Blog with the Open Graph and Add Facebook’s Like Button & Social Plugins

Next, I’ll show you how to add your website to Facebook’s Insights analytics tool.

Technorati Tags: , , , , , ,

  • http://www.hyperarts.com/blog/ Tim Ware

    John, If you’re asking if you can just add the App ID in the Like Button and Comments instead of creating the Open Graph meta tags, you could do that.
    Of course, you still need the App ID to see Insights for your domain. Creating the App for your website integrates it into the OG.
    And you should then be able to view Insights for the domain, once you’ve “claimed” your domain to add it to Insights. Here’s our tutorial for adding your domain to Insights.

  • http://www.hyperarts.com/blog/ Tim Ware

    Yes, when a plugin has an App ID you can track its usage in Insights.

  • Joby Joseph

    How To Create a Facebook Application http://bit.ly/AdW6zl

    A very simple how to guide for beginners.

  • Jesus de La Garza

    Hi, I’ve some questions and hope you can help me. 

    How does this work if I’ve a FB Fan page for my website? Can this 2 things can work together? or which one should I use? 

    Thanks in advance for your help and clarification on this matter.

  • http://www.facebook.com/people/Avnish-Kumar-Dubey/100002479742886 Avnish Kumar Dubey

    api id and api key are same or not tell me plz…………

    • http://www.hyperarts.com/blog/ Tim Ware

      The App ID i the unique numerical identifier you get for each Facebook app you create. You don’t get an “API Key” anymore when you set up a Facebook app. I know API keys were for Facebook Connect.

  • http://www.hyperarts.com/blog/ Tim Ware

    I’m not sure I understand your question. What is the “it” that “links to my FB Brand page”? A “Like” button on your website should Like the specific page the button’s on, or the website itself. I also don’t understand what you mean by “attached to my personal profile”.

    • http://www.facebook.com/profile.php?id=1607643144 Robin McCorkle Howard

       I’m having the same problem. I administrate Facebook pages for clients and when I follow the steps in the tutorial it forces me to log in to my “personal” account and page. I need to get an AppID for my clients page. Any help? Thnx for this!

      • http://www.hyperarts.com/blog/ Tim Ware

        You must be logged in to *your* personal account to create an app. You can then make your client an admin of the app, and even remove yourself as an admin, but the creator of the app has to be the logged in user.

      • http://www.hyperarts.com/blog/ Tim Ware

        You can only create an app while logged in as your personal profile. You can then add your client as an admin of the app, if they request that.