The following content is from the Meta App Development documentation. Please refer to the Development documentation to learn more about the Meta App Development process.

Pages API Use Case

This document shows you how to create and customize a Meta app that allows your app users to publish posts, share stories, respond to comments, answer direct messages and more with the Pages API.

This guide assumes that you have read and implemented the requirements for creating an app with Meta.

1. Start the app creation process

There are a number of ways to create an app.

  • If you just came from the registration flow, click the Create First App button
  • If you are on the App Dashboard, click Create App in the upper right
  • If you are on the dashboard for an existing app and want to create a new app, select the dropdown menu in the upper left, and click the Create New App button
Launch the Meta App Dashboard

2: App details

Add the following details about your app:

  • A name for your app
  • The email address to be used to contact you about this particular app

Click Next to save your app's details.

3: Add use cases

  1. Select the Manage everything on your Page use case.
  2. (Optional) Add additional use cases that you want to implement in your app and that are compatible with this use case. Incompatible use cases are greyed out.
  3. Click Next.

4. Add a Business

If you're building an app for a business you own or manage, you aren't required to connect a business to your app.

If you're a Tech Provider, you're building an app that will be serving clients or other business portfolios, you're required to connect your app to a business that has completed both Access and Business Verification before you can publish your app.

However, you can connect a business now or at any time during the development process.

  1. Select an option and click Next.

Learn more about Access and Business Verification.

5. Requirements

Your app may need to complete certain requirements to publish your app and maintain data access. These requirements will be listed, if applicable, with a link to the use case triggering the requirement and link to learn more about each requirement.

Click Next.

6. Overview

This step allows you to review the following:

  • App details
  • Use cases added to your app
  • The business portfolio added to your app
  • Requirements of your app

The Meta Platform Terms and Developer Policies are linked here for you to review.

Click Go to dashboard.

When your app is created you will be redirected to your app's dashboard to further customize your app.

7. Use case customization

  1. Click Dashboard in menu to the left in the App Dashboard. Each use case that you have added to your app is listed here.
  2. Select the use case you want to customize. This allows you to add settings and permissions to make your app work the way you want it to.
  3. Add permissions that your app needs and remove permissions that your app doesn't need.
  4. Click Ready to test to test each use case. If you need to submit your app for Meta App Review, you must test each use case. The Meta's Graph API Explorer allows you to test your queries and get access tokens and code samples for your queries.
  5. Click Dashboard to repeat the above for each use case.

Permissions

  1. To customize the Pages API use case select Customize the Manage everything on your Page use case. You are redirected to a list of permissions available for this use case. The following permissions are required for this use case and added by default:
    • business_management
    • pages_show_list
    • public_profile
  2. Click Add next to each additional features or permissions that your app needs to work the way you want it to.

8. Customize Facebook Login for Business

If you are implementing Facebook Login for Business in your app, follow these steps.

Settings

  1. Click Facebook Login for Business in the menu to the left in the App Dashboard.
  2. Select Settings.
  3. Add your Redirect URI and click Check URI to validate it.
  4. Customize the Client OAuth settings.
  5. Add your Deauthorize Callback URL.
  6. Add your Data Deletion Request URL.
  7. Click Save changes.

Quickstart

Use the Quickstart to add Facebook Login for Business to your app.

  1. Click Quickstart.
  2. Select and customize each platform for this app.
  3. Add the Facebook Login Button to your app.

Configurations

This optional feature of Facebook Login for Business allows you to create multiple configurations and present them to different sets of users. Configurations allow you to choose:

  • The type of login variation to present to your app users.
  • The type of access token you want to request from your business clients, a User access token or System-user access token and token expiration
    • If you select User access token then your app users will log in using their personal Facebook account.
    • If you select System-user access token your app users will be required to log in using a business portfolio. This is only required if this configuration needs continuous access to business assets, such as Facebook Pages, ad accounts or Instagram accounts.
  • The business assets you want to request from your clients.
  • The permissions your app users are required to grant your app.

9. Finalize Customization

If you are finished customizing the use cases for this app follow these steps. You can add more use cases later, but that might require additional reviews and requirements.

  1. Click Dashboard in the left side menu.
  2. Click Finish customization.

The Dashboard is replaced with a list of required actions, if applicable, rate limit information for your app, and the use cases on your app.

10. Become a Tech Provider

If your app needs to access business data owned by other business portfolios to provide services or functionality to those businesses, you must become a Tech Provider. This option will require additional data questions and approval through App Review before publishing.

  1. Click Become a Tech Provider.
  2. Click Yes, I'm a Tech Provider. The App Dashboard is updated to include additional items listed on Dashboard for your use cases.
  3. Click Business verification to add a verified business portfolio or add a business portfolio and start the verification process.

11. App Review

  1. In the left side menu go to Review > App Review. Click the Edit button to start your submission. All permissions and features you are requesting, with links to the documentation for each, are listed here.
  2. Complete App Settings – Click Review your app settings to add or update any app settings such as app icon, privacy policy URL, and app category. This step must be complete before continuing.
  3. Reviewer instructions – Click Provide reviewer instructions A popup dialog appears for each platform on which you app is available. Select each platform and answer the questions with questions for our reviewers to test your use case implementations. Click Done.
  4. Click each permission and feature you requested.
  5. Click the checkbox to agree to use each permission or feature in accordance with its allowed usage. If your app doesn't use a permission or feature listed, remove it by clicking the trashcan icon.
  6. Click the Submit for Review button in the lower right.

12. Publish

  1. When you are ready to publish, select Publish in the left side menu.
  2. Review your use cases and requirements.
  3. Click Publish in the lower right corner.

Congratulations on completing your app!

See Also

Visit the following to learn more about the app development process: