1. Go to Facebook for Developers at https://developers.facebook.com.

    If you haven't created a Facebook Developer Account, you can do so now.

  2. At the top of the page, click My Apps, click Create app, select the appropriate application type, and then click Continue.
  3. Enter the following information:
    • App Display name: The name you want to associate with this application ID.
    • App Contact email: The primary contact information for the application.
  4. Click Create app, and then complete the security check, if required.

    The application dashboard is displayed.

  5. On the left side of the page, click Settings > Basic.
  6. Enter the following information:
    • App domains: (Leave this value blank for now.) The path in your application that users are redirected to after they have authenticated with Facebook.
    • Privacy policy URL: (Optional). The URL that contains your privacy policy.
    • Terms of service URL: (Optional). The URL that contains your terms of service.
  7. At the top of the page, locate the App ID and App secret.
  8. Copy the values and paste them in a secure location.
  9. Click Save changes.

For more information, see https://developers.facebook.com/docs/apps.