Integrasyon ng Facebook Messenger para sa mga chatbot
Tungkol sa integrasyong ito
Ang Facebook Messenger ay isa sa aming pinakapopular na integrasyon. Pinapahintulutan nitong ikonekta ng mga tagabuo ang kanilang mga chatbot direkta sa Messenger para mapagana ng mga negosyo ang awtomatikong usapan sa isa sa pinakaginagamit na social messaging app.
Ang integrasyon ay pinapagana ng opisyal na Messenger API, kaya't siguradong mabilis, maaasahan, at suportado nang buo ng plataporma ng Meta ang mga mensahe. Kailangan lang ng mga tagabuo ng Facebook Page at API access para simulan ang pagkonekta ng kanilang chatbot.
Kapag na-set up na, kayang sagutin ng Messenger chatbot ang mga tanong, magpadala ng mga update, magproseso ng media, at tumulong sa customer service nang malawakan.
Pangunahing tampok
- Awtomatikong tugunan ang mga usapan ng kustomer
- Magpadala ng agarang tugon
- Suportahan ang mga larawan, video, at file
- Iangkop ang mga mensahe gamit ang datos ng chatbot
- Pamahalaan ang dalawang-daan na mensahe nang malawakan
- Isama sa inbox ng Facebook Page
- Mag-trigger ng mga workflow mula sa mga kaganapan sa Messenger
- Magbigay ng real-time na suporta sa customer
FAQ
Paano ko ikokonekta ang chatbot sa Facebook Messenger?
Para ikonekta ang chatbot sa Facebook Messenger, kailangan mong i-link ang isang Facebook Page sa iyong chatbot platform gamit ang Messenger API. Kailangan dito ang pag-authenticate ng iyong Facebook account at pagpili ng Page na paglilingkuran ng bot.
Ano ang kailangan ko bago mag-setup ng Messenger chatbot?
Bago mag-setup ng Messenger chatbot, kailangan mo ng isang nailathalang Facebook Page, Meta developer account, at chatbot platform na sumusuporta sa integrasyon ng Messenger.
Kailangan ko ba ng Facebook app review o approval para mag-deploy ng Messenger bot?
Kailangan ng Facebook app review kung gagamitin ng Messenger bot mo ang mga advanced na tampok tulad ng broadcasting o persistent menus. Kung ang bot mo ay sasagot lang sa mga mensahe ng user sa loob ng 24 oras, hindi kailangan ng app review.
Kaya bang magproseso ng mga larawan, video, at file ng Messenger chatbots?
Kayang magpadala at tumanggap ng text, larawan, GIF, video, audio message, at mga kalakip na file ang Messenger chatbots.
Paano ko masusubukan ang aking chatbot sa Messenger bago ito ilathala?
Para subukan ang Messenger chatbot bago ito ilathala, maaaring gamitin ng mga admin o editor ng iyong Facebook Page para magpatakbo ng pribadong usapan sa bot.
May bayad ba ang pagpapadala ng mensahe sa Facebook Messenger?
Walang bayad ang pagpapadala ng mensahe sa Facebook Messenger. Maaaring magpadala ng mensahe ang mga negosyo nang libre sa loob ng 24 oras mula sa huling pakikipag-ugnayan ng user, ngunit lampas dito, tanging mga aprubadong uri ng mensahe tulad ng one-time notification o sponsored message lang ang pinapayagan.
<iframe src="https://www.youtube.com/embed/pOIrLMpZZqc"></iframe>
The Facebook and Messenger integration empowers your chatbot to seamlessly interact across Facebook's messaging ecosystem, combining both Messenger and Facebook Page capabilities into one powerful solution. Connect your AI-powered chatbot to engage with your audience through multiple touchpoints: respond to direct messages, reply to comments on Facebook Page posts, and even initiate private conversations directly from post comments.
## Configuration (Updates)
### Manual configuration
#### Webhook Subscriptions
Using the Messenger App in your Meta app, subscribe to the following fields:
- **messages**: Required to receive incoming direct messages
- **messaging_postbacks**: Required to handle button clicks and quick replies
- **(NEW) feed**: Required to receive and respond to comments on Facebook page posts. This field is essential for the comment interaction features and proactive conversation from comments.
## Proactive Conversations
The integration now supports proactive conversation creation, letting you seamlessly move from public interactions to private DMs. When someone comments on a post from your Facebook Page, you can use that comment’s ID to automatically initiate a private conversation with the user.
## Migrating from 4.x to 5.x
### Reauthorization for comment replies
If your bot was previously connected to your Facebook page using OAuth, you will need to complete the authorization flow again in order to receive messages on the `commentReplies` channel.
### Changes to the 'Get Or Create Conversation' card
The following changes have been implemented:
- Renaming of the `id` parameter to `userId`. The ID still corresponds to the Messenger ID of the user that is or will be taking part in the conversation.
- It is now the responsibility of the Bot developer to ensure the validity of the provided user ID. No additional checks are made in the action.
### Removal of `recipientId` and `senderId` conversation tags
The `recipientId` and `senderId` conversation tags were removed because of their redundancy. The recipient ID, which corresponded to the Bot's Messenger ID, can still be found in the `recipientId` message tag of incoming messages or in the `senderId` message tag of outgoing messages. The sender ID, which corresponded to the user's Messenger ID, can still be found in the `id` conversation tag.
### Markdown message type
The Markdown message type has been deprecated, so its support has been removed in the `channel` channel. You can use the text message type to send Markdown instead.
## Migrating from 3.x to 4.x
### _postback_ and _say_ messages prefix
In version 4.0 of Messenger, _postback_ and _say_ messages no longer use the prefixes `postback:` or `say:`. If your bot relied on these prefixes for logic or transitions, you can update it to depend solely on the value set for the postback.