react-messenger-send-to-messenger
react-messenger-send-to-messenger copied to clipboard
Support for Subscribe to Events
FB SDK a provides a way to subscribe to the events of STM button (https://developers.facebook.com/docs/messenger-platform/discovery/send-to-messenger-plugin/#event). Is it possible?
FB.Event.subscribe('send_to_messenger', function(e) {
// callback for events triggered by the plugin
});