Facebook Messenger and Marketplace chat messaging through your Facebook Page
The Messenger channel lets you receive and reply to Facebook Messenger conversations — including Facebook Marketplace chats — through your Facebook Page, using the same unified API as every other Zavu channel.
const result = await zavu.messages.send({ to: "24025631120151183", // Messenger user ID (PSID) text: "Thanks for your message!", channel: "messenger",});
You cannot message a Messenger user by phone number. The user must message your Page first — their PSID arrives in the from field of the inbound message (prefixed as messenger:{id} in contacts and conversations).
PSIDs are scoped per Page: the same person has a different ID for each Facebook Page they talk to.