Event Subscription Send to Messenger button
Right now the STM button just renders, there is no way to check whether user has clicked, opted in etc. Facebook provides events for that. https://developers.facebook.com/docs/messenger-platform/discovery/send-to-messenger-plugin/
You can use Subscribe component for Facebook events in this moment. But I can add it to Subscribe button as well. It is good idea 👍
Does anyone know how to use the Subscribe component???
if you nest it within <FacebookProvider /> it returns
error initialize(...) Nothing was returned from render. This usually means a return statement is missing
or if you don't nest it, it returns
react-facebook cannot read property 'handleinit' of undefined
any ideas are helpful