NAV

Social Media Account(Last Updated : 01/04/2017)

PUT SNS Account

Receive a notification once the system has processed your request to register Facebook, Twitter account or Facebook page. If the request was successful, request_id, sns_id, or page_id will be returned. If the request was unsuccessful, request_id will be returned along with the appropriate error message.

Body Parameters

Parameter Description
push_id The key for the specific push message.
request_id The key for the specific request.
service The SNS type.
sns_id The SNS's unique ID number.
page_id The Facebook Page’s unique ID number.
status_code A code notifying the member of the reason for the error. Status Code List

Code sample for PUT SNS Account

"Example (Success): Register a Facebook account."
{
 "push_id" : 7778889990000,
 "request_id" : "1234561234567asdf123",
 "service" : "facebook",
 "sns_id" : "987987987980"
}

"Example (Success): Register a Facebook page."
{
 "push_id" : 7778889990000,
 "request_id" : "1234561234567asdf123",
 "service" : "facebook_page",
 "page_id" : "456456456000"
}

"Example (Success): Register a Facebook page and a Facebook account."
{
 "push_id" : 7778889990000,
 "request_id" : "1234561234567asdf123",
 "service" : "facebook_page",
 "page_id" : "456456456000",
 "facebook_id" : "987987987980"
}

"Example (Failure):"
{
 "push_id" : 7778889990000,
 "request_id" : "1234561234567asdf123",
 "status_code" : "MPAE1201"
}

DELETE SNS Account

Receive a notification once the system has processed your request to delete a Facebook account, Facebook page, or Twitter account. If the request is successful, request_id, sns_id, or page_id will be returned. If the request is unsuccessful, request_id will be returned along with the appropriate error message.

Body Parameters

Parameter Description
push_id The key for the specific push message.
request_id The key for the specific request.
service The SNS type.
sns_id The SNS's unique ID number.
page_id The Facebook Page’s unique ID number.
status_code A code notifying the member of the reason for the error. Status Code List

Code sample for DELETE SNS Account

"Example (Success): Delete a Facebook account."
{
 "push_id" : 7778889990000,
 "request_id" : "1234561234567asdf123",
 "service" : "facebook",
 "sns_id" : "987987987980"
}

"Example (Success): Delete a Facebook page."
{
 "push_id" : 7778889990000,
 "request_id" : "1234561234567asdf123",
 "service" : "facebook_page",
 "page_id" : "456456456001"
}

"Example (Success): Delete a Facebook account and one or multiple Facebook pages."
{
 "push_id" : 7778889990000,
 "request_id" : "1234561234567asdf123",
 "service" : "facebook",
 "sns_id" : "987987987980",
 "facebook_page_id_list" :
 [
   "456456456000", "456456456001", "456456456002", "456456456003", "456456456004"
 ]
}

"Example (Failure):"
{
 "push_id" : 7778889990000,
 "request_id" : "1234561234567asdf123",
 "status_code" : "MPAE2303"
}