I configured an application to send Webhook Events to my API, as follows:
AftersettingupWebhooksintheApplicationthisway(Inscribedname,email):
MyAPIisonlyreceivingthefollowingcode:
{
"object":"page",
"entry":[
{
"id":"IDPAGINA",
"time":1516114603786,
"messaging":[
{
"sender":{
"id":"IDPAGINA"
},
"recipient":{
"id":"IDUSER"
},
"timestamp":1516114603605,
"message":{
"mid":"mid.123456",
"seq":4123456,
"text":"Mensagem enviada"
}
}
]
}
]
}