integrations: Add webhook payloads for Facebook.

This commit is contained in:
MadElf1337
2018-01-03 17:30:08 +05:30
committed by showell
parent d026ad4678
commit 7c113d185f
8 changed files with 144 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{
"entry":[
{
"changes":[
{
"field":"plugin_comment",
"value":{
"created_time":"2018-01-02T16:53:38+0000",
"message":"Test Comment",
"from":{
"name":"Test User",
"id":"4444444444"
},
"id":"4444444444_4444444444"
}
}
],
"id":"0",
"time":1514912018
}
],
"object":"application"
}

View File

@@ -0,0 +1,32 @@
{
"entry":[
{
"changes":[
{
"field":"plugin_comment_reply",
"value":{
"created_time":"2018-01-03T10:45:42+0000",
"message":"Test Comment",
"from":{
"name":"Test User",
"id":"4444444444"
},
"id":"4444444444_4444444444",
"parent":{
"created_time":"2017-12-22T20:59:02+0000",
"message":"Test Parent Comment",
"from":{
"name":"Test User 1",
"id":"4444444444"
},
"id":"4444444444_44444444"
}
}
}
],
"id":"0",
"time":1514976343
}
],
"object":"application"
}

View File

@@ -0,0 +1,18 @@
{
"entry":[
{
"changes":[
{
"field":"conversations",
"value":{
"thread_id":"t_mid.14833205540:9182a4e489",
"page_id":4444444
}
}
],
"id":"0",
"time":1514911876
}
],
"object":"page"
}

View File

@@ -0,0 +1,14 @@
{
"entry":[
{
"changes":[
{
"field":"website"
}
],
"id":"0",
"time":1514911950
}
],
"object":"page"
}

View File

@@ -0,0 +1,13 @@
{
"entry":[
{
"time":1514912190,
"id":"0",
"changed_fields":[
"ads_management"
],
"uid":"0"
}
],
"object":"permissions"
}

View File

@@ -0,0 +1,13 @@
{
"entry":[
{
"time":1514912232,
"id":"0",
"changed_fields":[
"manage_pages"
],
"uid":"0"
}
],
"object":"permissions"
}

View File

@@ -0,0 +1,16 @@
{
"entry":[
{
"time":1514911552,
"changes":[
{
"field":"email",
"value":"example_email@facebook.com"
}
],
"id":"0",
"uid":"0"
}
],
"object":"user"
}

View File

@@ -0,0 +1,15 @@
{
"entry":[
{
"time":1514911601,
"changes":[
{
"field":"feed"
}
],
"id":"0",
"uid":"0"
}
],
"object":"user"
}