When your Facebook app is in Development Mode, plugin and API functionality will only work for admins, developers and testers of the app. After your app is approved and public, it will work for the general public.
A Facebook app is what links your Facebook Page to your webhook, and is where you will configure various settings for your Messenger experience, generate access tokens, and choose what events are sent to your webhook.
In this guide, you will learn how to set up your Facebook app so that you can start building on the Messenger Platform.
Before you begin, you will need to create a few things. Please ensure you have all of the following:
Facebook Page: A Facebook Page will be used as the identity of your Messenger experience. When people chat with your app, they will see the Page name and the Page profile picture. To create a new Page, visit https://www.facebook.com/pages/create
Developer Account: Your developer account is required to create new apps, which are the core of any our integration. You can create a new developer account by going to the Meta Developers website and clicking the 'Get Started' button.
Facebook App: The Facebook app contains the settings for your Messenger experience, including access tokens. To create a new app, visit your app dashboard.
Webhook URL: Actions that take place in conversations, such as new messages are sent as events to your webhook. For more information on setting up your webhook, see Set Up Your Webhook.
Before you begin, make sure you have completed all of the requirements listed above.
GET
request to your webhook with the verify token you provided. If your webhook is valid and properly set up to respond to the verification request, your webhook settings will be saved.
messages
and messaging_postbacks
to get started.Learn how to build a simple Messenger experience with our Quick Start Tutorial, or check out the rest of the docs to see all the things you can do with the Messenger Platform.