I am trying to test my webhook that subscribes to the messaging_optins event, but I am struggling to manually trigger the event.
The documentation seems to indicate that using the "Send to Messenger" plugin should fire this event, but after setting up the button no event is triggered. The user is redirected to messenger website and asked to login, and then directed to an empty conversation with my page. I have tried this as my admin user, a random real Facebook account and a test account for my app.
When should this event be fired? And how can i trigger the event manually?
Edit
I would like to note that my webhooks are working and I am able to receive events for messages being received. Just not the opt-ins event.