Connect a Facebook Page
Create a Meta App, issue a Page access token, and connect Messenger to Fahsai.
Step-by-step
- Step 1
Create a Meta App and add the Messenger product
Go to Meta for Developers, create a new Business app, then add the Messenger product to it. This is the path Facebook uses to deliver customer messages to Fahsai.
Screenshot pendingCreate a Meta App and add the Messenger product - Step 2
Link the Facebook Page and issue a Page access token
In the Messenger settings, connect the Facebook Page you want to use, generate a Page access token for it, and copy the token.
Heads upShort-lived tokens expire and silently stop the channel from receiving messages — use a permanent Page token.Screenshot pendingLink the Facebook Page and issue a Page access token - Step 3
Add the Facebook channel in Fahsai
In Fahsai, open the channels page, choose to add a Facebook channel, fill in the fields listed below and save.
Fields to fill in FahsaiaccessTokendisplayNameScreenshot pendingAdd the Facebook channel in Fahsai - Step 4
Copy the webhook URL and verify token
Once the channel is saved, Fahsai generates a webhook URL and a verify token for it. Copy both — you need them in the next step.
Screenshot pendingCopy the webhook URL and verify token - Step 5
Configure the webhook in the Meta App
Back in the Meta App, open Messenger, select Webhooks and press Add Callback URL. Paste the webhook URL and verify token, press Verify and save, then subscribe your Page to the messages and messaging_postbacks fields.
Heads upWithout a subscription to the messages field the webhook verifies successfully but no messages ever reach your inbox.Screenshot pendingConfigure the webhook in the Meta App - Step 6
Check that the channel is live
Message the Page from a personal Facebook account that is not a Page admin. If everything is set up correctly the message shows up in the Fahsai inbox within seconds and the channel status turns active.
TipWhile the app is in Development mode, only people with a role on the app can reach your inbox. Submit the app for review and switch it to Live before going live with real customers.Screenshot pendingCheck that the channel is live