Reply
This operation is part of the Facebook API section of the Web Services API.
Overview
Creates a reply to a Facebook message.
Request URL | /api/v2/me/facebook/{id} |
---|---|
HTTP Method | POST |
Required Features | api-multimedia |
Parameters
Parameter | Value |
---|---|
operationName | Reply |
queuePath | The job queue for handling the send operation. (mandatory) |
commentId | The unique identifier for the comment. |
userData | The key value data to attach. (optional) |
Samples
Request
POST api/v2/me/facebook/01QQQG2MU214P05R,
{
"operationName": "Reply",
"queuePath": "/contacts/60ebbb94-3cef-4b14-95f8-5c49dbeb355d"
}
HTTP Response
{
"statusCode": 0,
"referenceId": 42
}
CometD Response
{
"facebook":{
"capabilities":[
"Cancel",
"Send",
"AddComment",
"AttachUserData",
"UpdateUserData",
"DeleteUserData",
"SetDisposition",
"SetInFocus",
"Transfer"
],
"contactId":"0002CaAPEA440026",
"facebookType":"Outbound",
"fqlObject":{
"applications":{
},
"columnList":"",
"comments":{
"830185537037269_830632010325955":{
"attachment":None,
"can_comment":True,
"can_like":True,
"can_remove":True,
"columnList":"id,post_id,parent_id,text,time,can_remove,can_comment,can_like,user_likes,is_private,fromid,likes,comment_count,object_id,attachment,text_tags",
"comment_count":0,
"fromid":"1457374047909438",
"id":"830185537037269_830632010325955",
"is_private":False,
"likes":0,
"object_id":"830185537037269",
"parent_id":"0",
"post_id":"830180563704433_830185537037269",
"text":"Can you help me?",
"textTags":[
],
"time":1433844857,
"user_likes":False
}
},
"events":{
},
"groups":{
},
"pages":{
"830180563704433":{
"can_post":True,
"columnList":"page_id,name,pic_small,pic_big,page_url,type,can_post,username",
"name":"Cloud App Community",
"page_id":830180563704433 L,
"page_url":"https://www.facebook.com/pages/Cloud-App-Community/830180563704433",
"pic_big":"https://fbcdn-profile-a.akamaihd.net/static-ak/rsrc.php/v2/y9/r/zesEb_o5oyL.png",
"pic_small":"https://fbcdn-profile-a.akamaihd.net/static-ak/rsrc.php/v2/yv/r/zxpGQEKWB25.png",
"type":"APP PAGE",
"username":""
}
},
"stream":{
"actor_id":"1457374047909438",
"attachment":{
"caption":None,
"columnList":"media,name,href,caption,description,icon,fb_object_type,fb_object_id",
"description":"",
"fb_object_id":None,
"fb_object_type":None,
"href":None,
"icon":None,
"media":[
],
"name":None
},
"attribution":None,
"columnList":"post_id,source_id,actor_id,created_time,updated_time,message,like_info,comment_info,description,attribution,attachment,type,permalink,viewer_id,share_count,share_info,timeline_visibility,message_tags",
"comment_info":{
"can_comment":True,
"columnList":"can_comment,comment_count,comment_order",
"comment_count":4,
"comment_order":"ranked"
},
"created_time":1433770544,
"description":None,
"like_info":{
"can_like":True,
"columnList":"can_like,like_count,user_likes",
"like_count":0,
"user_likes":False
},
"message":"Hi all! It is page for testing application.",
"messageTags":{
},
"permalink":"https://www.facebook.com/permalink.php?story_fbid=830185537037269&id=830180563704433",
"post_id":"830180563704433_830185537037269",
"share_count":0,
"source_id":"830180563704433",
"timeline_visibility":"normal",
"type":56,
"updated_time":1433844857,
"viewer_id":"1050833618279767"
},
"users":{
"1457374047909438":{
"about_me":None,
"birthday":None,
"birthday_date":None,
"can_post":True,
"columnList":"about_me,birthday,birthday_date,can_post,current_location,email,first_name,friend_count,hometown_location,is_blocked,languages,last_name,locale,middle_name,name,notes_count,pic_big,pic_small,political,profile_blurb,profile_update_time,profile_url,relationship_status,religion,sex,timezone,uid,verified",
"current_location":None,
"email":None,
"first_name":"Vitaliy",
"friend_count":None,
"hometown_location":None,
"is_blocked":False,
"languages":[
],
"last_name":"Onv",
"locale":None,
"middle_name":"",
"name":"Vitaliy Onv",
"notes_count":None,
"pic_big":"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xfp1/v/t1.0-1/s200x200/10354686_10150004552801856_220367501106153455_n.jpg?oh=3c163498cacd376bd5ce19b19c5e1150&oe=55FB1850&__gda__=1442280006_1cb3823f17ab787caa74cfffbad6b895",
"pic_small":"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xfp1/v/t1.0-1/s50x50/10354686_10150004552801856_220367501106153455_n.jpg?oh=b6a22337e5d12144faebdd8e4ca8af42&oe=56051340&__gda__=1443193306_b3c569a5326d4ecdd23ec7bdb956bebc",
"political":None,
"profile_blurb":None,
"profile_update_time":1426665037,
"profile_url":"https://www.facebook.com/app_scoped_user_id/1457374047909438/",
"relationship_status":None,
"religion":None,
"sex":None,
"status":None,
"timezone":None,
"uid":1457374047909438 L,
"username":None,
"verified":None,
"wall_count":None
}
}
},
"id":"01QKD1JNETRE2003",
"parentId":"01QQQG2MU214P05R",
"state":"Composing",
"uri":"http://192.168.83.25:8090/api/v2/facebooks/01QKD1JNETRE2003",
"userData":{
"Subject":"Reply: Hi all! It is page for testing applic...",
"_facebookCommentId":"830185537037269_830624533660036",
"_facebookPostId":"830180563704433_830185537037269",
"_facebookSubmitType":"comment",
"desktop_OutboundItxType":"SolicitedComment"
}
},
"messageType":"FacebookStateChangeMessage",
"notificationType":"StatusChange",
"referenceId":11
}
This page was last edited on October 31, 2023, at 13:29.
Comments or questions about this documentation? Contact us for support!