Go to the Meta Developer App Dashboard and select Create App.
If you have a business portfolio and you’re ready to connect the app to it, select the business portfolio. If you don’t have a business portfolio or you’re not ready to connect the app to the portfolio, select I don’t want to connect a business portfolio yet and select Next. The Use cases page opens.
Select the Use case that aligns with how you wish to use the Facebook Graph API. For example, for products in Meta’s Business suite (like Messenger, Instagram, WhatsApp, Marketing API, App Events, Audience Network, Commerce API, Fundraisers, Jobs, Threat Exchange, and Webhooks), select Other, then select Next.
Select Business and Next.
Complete the essential information:
Add an App name.
Add an App contact email.
Here again you can connect to a business portfolio or skip it.
Select Create app.
The Add products to your app page opens.
Select App settings > Basic from the left menu.
Enter a Privacy Policy URL. (Required to take the app “Live.”)
Select Save changes.
At the top of the page, toggle the App Mode from Development to Live.
In the left menu, select Add Product.
The Add products to your app page appears. Select the products that make sense for your app and configure them.
Refer to Meta’s Create an app documentation for more information on creating an app, required fields like the Privacy Policy URL, and adding products.For more information on the app modes and switching to Live mode, refer to App Modes and Publish | App Types.
Select the Meta App you just created in the Access Token section.
In User or Page, select Get App Token.
Select Generate Access Token.
The page prompts you to log in and grant access. Follow the on-screen prompts.
You may receive a warning that the app isn’t available. Once you take an app live, there may be a few minutes’ delay before you can generate an access token.
Copy the token and enter it in your credential as the Access Token.
Refer to the Meta instructions for Your First Request for more information on generating the token.