-
Webhook Activation:
- Configure the Webhook to receive user requests and process input data.
- Ensure the Webhook URL is correctly set in your Facebook App settings.
-
Short-Lived Token Retrieval:
- Use Facebook OAuth to fetch a short-lived token from the authorization code.
-
Long-Lived Token Conversion:
- Convert the short-lived token into a long-lived token (valid for ~60 days).
-
Page Token Retrieval:
- Follow the provided instructions to retrieve Page Tokens for posting on managed Facebook Pages.
-
Customizable Scopes:
- Edit the
correctScopes array to include or exclude permissions as needed.
-
Optional Database Storage:
- Extend the workflow to save tokens to a database instead of displaying them on-screen.
-
Step-by-Step Instructions:
- Detailed guidance is provided via sticky notes for activating the app, configuring Webhook, and editing parameters like
fb_redirect_uri, app_id, and app_secret.