Reputation: 5155
Currently, I've successfully developed Human Handover Protocol for Messenger Bot.
Chat with a person
", bot will stop working and the users' input will
be sent to the Page Inbox. Mark as done
", the bot will take back the thread control.It works as planned. The problem is that we also want to look and track all the users chatting with the bot even if he is only interacting with the bot. Because we want to track that our bot has any defects.
I know I can record the data from my Server side. But I'm curious is there any smarter solutions to handle that problem. May be two inboxes. One inbox for "Human Handover Protocol" and one inbox for "All chating history".
Upvotes: 0
Views: 169
Reputation: 2848
Create another app, add it as Secondary Receiver and subscribe it to the standby event. It will be able to see all incoming webhook events, regardless of what app is currently chatting:
https://developers.facebook.com/docs/messenger-platform/reference/webhook-events/standby
Upvotes: 0