Integrazione Facebook Messenger per chatbot
Informazioni su questa integrazione
Facebook Messenger è una delle nostre integrazioni più popolari. Permette ai creatori di collegare i propri chatbot direttamente a Messenger, così le aziende possono automatizzare le conversazioni all'interno di una delle app di messaggistica sociale più utilizzate.
L'integrazione utilizza l'API ufficiale di Messenger, garantendo messaggi affidabili, veloci e pienamente supportati dalla piattaforma Meta. I creatori hanno bisogno solo di una Pagina Facebook e dell'accesso all'API per iniziare a collegare il proprio chatbot.
Una volta configurato, un chatbot Messenger può rispondere alle domande, inviare aggiornamenti, gestire contenuti multimediali e offrire assistenza clienti su larga scala. Questo rende Messenger un canale pratico per le aziende che vogliono offrire comunicazione immediata dove i loro clienti sono già presenti.
Funzionalità principali
- Automatizza le conversazioni con i clienti
- Invia risposte istantanee
- Supporta immagini, video e file
- Personalizza i messaggi con i dati del chatbot
- Gestisci messaggi bidirezionali su larga scala
- Integra con la posta in arrivo della Pagina Facebook
- Attiva flussi di lavoro dagli eventi di Messenger
- Offri assistenza clienti in tempo reale
FAQ
Come collego un chatbot a Facebook Messenger?
Per collegare un chatbot a Facebook Messenger, devi associare una Pagina Facebook alla tua piattaforma chatbot tramite l'API Messenger. Questo richiede l'autenticazione del tuo account Facebook e la selezione della Pagina che il bot gestirà.
Cosa serve prima di configurare un chatbot Messenger?
Prima di configurare un chatbot Messenger, ti serve una Pagina Facebook pubblicata, un account sviluppatore Meta e una piattaforma chatbot che supporti l'integrazione con Messenger.
Serve la revisione o l'approvazione dell'app Facebook per pubblicare un bot Messenger?
La revisione dell'app Facebook è necessaria se il tuo bot Messenger utilizza funzionalità avanzate come la trasmissione di messaggi o i menu persistenti. Se il bot risponde solo ai messaggi degli utenti entro la finestra di 24 ore, la revisione dell'app non è richiesta.
I chatbot Messenger possono gestire immagini, video e file?
I chatbot Messenger possono inviare e ricevere testo, immagini, GIF, video, messaggi audio e allegati di file.
Come posso testare il mio chatbot su Messenger prima della pubblicazione?
Per testare un chatbot Messenger prima della pubblicazione, puoi utilizzare gli amministratori o gli editor della tua Pagina Facebook per avviare conversazioni private con il bot.
Ci sono costi per inviare messaggi su Facebook Messenger?
Non ci sono costi per inviare messaggi su Facebook Messenger. Le aziende possono inviare messaggi gratuitamente agli utenti entro 24 ore dall'ultima interazione dell'utente; oltre questa finestra sono consentiti solo tipi di messaggi approvati come notifiche una tantum o messaggi sponsorizzati.
<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.