用户和 Facebook 公共主页或 Instagram 专业帐户间的 Messenger 对话。
GET /v23.0/{conversation-id} HTTP/1.1
Host: graph.facebook.com
/* PHP SDK v5.0.0 */
/* make the API call */
try {
// Returns a `Facebook\FacebookResponse` object
$response = $fb->get(
'/{conversation-id}',
'{access-token}'
);
} catch(Facebook\Exceptions\FacebookResponseException $e) {
echo 'Graph returned an error: ' . $e->getMessage();
exit;
} catch(Facebook\Exceptions\FacebookSDKException $e) {
echo 'Facebook SDK returned an error: ' . $e->getMessage();
exit;
}
$graphNode = $response->getGraphNode();
/* handle the result */
/* make the API call */
FB.api(
"/{conversation-id}",
function (response) {
if (response && !response.error) {
/* handle the result */
}
}
);
/* make the API call */
new GraphRequest(
AccessToken.getCurrentAccessToken(),
"/{conversation-id}",
null,
HttpMethod.GET,
new GraphRequest.Callback() {
public void onCompleted(GraphResponse response) {
/* handle the result */
}
}
).executeAsync();
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
initWithGraphPath:@"/{conversation-id}"
parameters:params
HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
id result,
NSError *error) {
// Handle the result
}];
MODERATE
任务的用户请求对于 Instagram 消息,您还需要:
名称 | 描述 |
---|---|
| 对话编号 |
| 对话中的消息 |
仅限公共主页消息
仅限公共主页消息
仅限 Instagram 消息 | 对话中的互动者 某位用户的 Instagram 范围编号或公共主页范围编号,或者 Instagram 专业帐户的 Instagram 编号或公共主页编号。 用户或公共主页的邮箱 用户或公共主页的名称 用户或 Instagram 专业帐户的 Instagram 帐号 |
| 对话中最后一条消息的出现时间 |
如需获取有关对话中某条具体消息的信息,请向消息端点发送请求。
您无法使用此连线进行删除。
您无法使用此连线进行更新。
名称 | 描述 | 用于发布 |
---|---|---|
对话中全部消息的列表 | 回复(仅限公共主页) |
综合能力测试考什么hcv7jop9ns7r.cn | 嘴唇上长疱疹用什么药hcv8jop3ns7r.cn | 双性恋什么意思hcv8jop6ns9r.cn | 铅超标有什么症状hcv8jop2ns7r.cn | 无花果是什么季节的水果hcv9jop6ns5r.cn |
刘备和刘邦是什么关系hcv8jop6ns6r.cn | 34属什么hcv9jop3ns0r.cn | 高丽参和红参有什么区别hcv8jop1ns7r.cn | 大便不成形吃什么药hcv9jop3ns7r.cn | 心脏不好喝什么茶比较好hcv8jop7ns5r.cn |
卵泡排出来是什么样的hcv7jop9ns3r.cn | 血压高有什么表现hcv9jop8ns3r.cn | exo是什么意思hcv9jop2ns4r.cn | 今年什么时候放暑假hcv8jop3ns8r.cn | 裸花紫珠是主治什么病hcv9jop0ns0r.cn |
肚子容易胀气是什么原因hcv8jop5ns9r.cn | 烦请是什么意思hcv9jop5ns2r.cn | 哪吒妈妈叫什么名字cl108k.com | 饱的偏旁叫什么hcv8jop5ns5r.cn | 去鱼腥味最好的方法是什么hcv7jop9ns5r.cn |