To setup an Application in Facebook to retrieve an API, you need to first login into Facebook. If you are new to Facebook, you need to register into Facebook first. After registering and feeding into all your profile informations you can start with setting up an application for yourself. Just follow the following steps —

  1. First of all login to your account and then click on to the “Developers” link at the bottom of the page in the footer section

  2. You will land to Facebook Developers page.

    Click on Apps on
  3. After you land on the Apps on page, click on “register your Facebook application” link in the Getting Started section.

  4. Thereafter you will be asked whether to allow access or not. Click Allow.

  5. Thereafter you will land on the Developers page where you need to click a button saying “Set Up New Application” at the right corner just below help.

  6. You will land on the “Create Application” page where you will have to give a name to your application and agree to the terms and policies and then click over to create application button.

  7. Then you will land on the page where you need to feed into different informations as required starting from “Basic”

    Remember to feed in the URL in the format “”. Don’t forget to end the name with a slash or you will face problem while creating the application.

  8. Then fill in informations for “Authentication”

    You will need to choose the authentication settings and feed in authentication callback URLs if any.
  9. Fill in the required information in the Profiles Tab

  10. Then fill in your Canvas settings and Callback URLs as in the image below

  11. Then fill in you Connect settings. Remember to feed in the Connect URL in the format “” and don’t forget the slash at the end of the URL.

    Similarly feed in the Widgets, Advanced and Migrations setting if required. You can leave them as it is and click on the “Save Changes” button at the bottom.
  12. After that you will land to the final page showing details of your Application where you will get the API Key, Application Secret and Application ID.

Hope you find this post helpful… :)