AddComment
This operation is part of the Facebook API section of the Web Services API.
Overview
Sets a comment on the specified Facebook interaction.
Request URL | /api/v2/me/facebook/{id} |
---|---|
HTTP Method | POST |
Required Features | api-multimedia |
Parameters
Parameter | Value |
---|---|
operationName | AddComment |
comment | A string value used for the Facebook comment. |
Samples
Request
POST api/v2/me/facebook/01QG4HAN88NP400J
{
"operationName": "AddComment",
"comment": "I am crazy about my test"
}
HTTP Response
{
"statusCode": 0,
"referenceId": 22
}
CometD Response
{
"facebook": {"capabilities": ["Cancel",
"Send",
"AddComment",
"AttachUserData",
"UpdateUserData",
"DeleteUserData",
"SetDisposition",
"SetInFocus",
"Transfer"],
"comment": "I am crazy about my test",
"facebookType": "Outbound",
"from": "vitaliy_onv",
"id": "01QG4HAN88NP400J",
"message": "Hi saved facebook!",
"state": "Composing",
"subject": "Hi saved facebook!",
"uri": "http://192.168.83.25:8090/api/v2/facebooks/01QG4HAN88NP400J",
"userData": {"DISP_KEY": "resolved",
"FromAddress": "vitaliy_onv",
"UserData2": "DATAUPDATE-@123"}},
"messageType": "FacebookStateChangeMessage",
"notificationType": "PropertiesUpdated",
"referenceId": 12
}
This page was last edited on February 15, 2024, at 19:11.
Comments or questions about this documentation? Contact us for support!