Hello all. I created a webhook to listen to FB messages and comments. I activated the messages and feed fields in my app. The problem is that messages works perfect, I get them all, but if anyone comments on any post in my page no data received in webhook. I receive data only when firing the test .
{
“nodes”: [
{
“parameters”: {
“httpMethod”: “POST”,
“path”: “club16-fb-auto”,
“options”: {}
},
“type”: “n8n-nodes-base.webhook”,
“typeVersion”: 2,
“position”: [
-1240,
440
],
“id”: “e6448cbc-b700-4eb3-891a-2f08f3b0b059”,
“name”: “Webhook”,
“webhookId”: “98f51ea6-5a2e-4b05-8b4d-07ee5486d96c”
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “d485ca9b-c036-4567-bd44-312fbf6b3a9d”,
“leftValue”: “={{ $json.body.entry[0].changes[0].field }}”,
“rightValue”: “feed”,
“operator”: {
“type”: “string”,
“operation”: “equals”
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
-660,
440
],
“id”: “5f2711f1-a83c-4bc9-ac63-938a4962e405”,
“name”: “If Comment YES”
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “d3433022-93ea-4cb6-bec8-548861aa2c70”,
“leftValue”: “={{ $json.body.entry[0].messaging[0].sender.id }}”,
“rightValue”: “”,
“operator”: {
“type”: “string”,
“operation”: “exists”,
“singleValue”: true
}
},
{
“id”: “d23b2b90-34ab-432a-9334-c722be407d43”,
“leftValue”: “”,
“rightValue”: “”,
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
-460,
540
],
“id”: “af3e5bf0-cf65-4187-b9ee-76b4c9ff0ec3”,
“name”: “If”
},
{
“parameters”: {
“amount”: 3
},
“type”: “n8n-nodes-base.wait”,
“typeVersion”: 1.1,
“position”: [
-1020,
440
],
“id”: “1cb445d1-e364-41e9-9660-b8b62c82b712”,
“name”: “Wait”,
“webhookId”: “c13405df-a0b8-4ceb-893c-b34c46d18e7e”
}
],
“connections”: {
“Webhook”: {
“main”: [
[
{
“node”: “Wait”,
“type”: “main”,
“index”: 0
}
]
]
},
“If Comment YES”: {
“main”: [
,
[
{
“node”: “If”,
“type”: “main”,
“index”: 0
}
]
]
},
“If”: {
“main”: [
]
},
“Wait”: {
“main”: [
[
{
“node”: “If Comment YES”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“instanceId”: “af568220035bee19eee006c61359858d064a1eafac35e2c992116bda42b4b935”
}
}