0
有誰知道數組或對象的格式需要傳遞給文檔的此頁面上列出的「to」和「message_tags」字段https://developers.facebook.com/docs/reference/api/post/Facebook Post Fields「to」and「message_tags」
有誰知道數組或對象的格式需要傳遞給文檔的此頁面上列出的「to」和「message_tags」字段https://developers.facebook.com/docs/reference/api/post/Facebook Post Fields「to」and「message_tags」
的「到」字段應該是這樣的:
"to": {
"data": [
{
"name": "Abc Def",
"id": "##########"
}
]
}
的「message_tags」字段如下所示。請注意,我表示爲'#1#'的是距離消息文本開頭的偏移量,其中標籤的第一個字符出現,'#2#'是標籤的長度。
"message_tags": {
"#1#": [
{
"id": "##########",
"name": "Abc Def",
"type": "user",
"offset": #1#,
"length": #2#
}
]
}
我在現有對象上使用了Facebook Graph Explorer來查找語法。