用户和 Facebook 公共主页或 Instagram 专业帐户之间对话中的消息。
GET /v23.0/{conversation-id}/messages 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}/messages',
'{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}/messages",
function (response) {
if (response && !response.error) {
/* handle the result */
}
}
);
/* make the API call */
new GraphRequest(
AccessToken.getCurrentAccessToken(),
"/{conversation-id}/messages",
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}/messages"
parameters:params
HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
id result,
NSError *error) {
// Handle the result
}];
MESSAGING
任务的用户请求的公共主页访问口令instagram_manage_messages
权限返回一个包含更多字段的消息对象数组:
名称 | 描述 | 类型 |
---|---|
Vector | 向量 |
您无法向此端点发送消息。请改为使用 Send API。
您无法删除此端点。
1974年属什么 | 什么情况下需要做心脏造影 | 五月一日是什么节日 | 过敏性鼻炎吃什么药能快速缓解 | 蜂蜜为什么不会变质 |
黄瓜是什么科 | 魔芋爽是什么做的 | 膝关节积液吃什么药 | 棕色和什么颜色搭配好看 | 办身份证需要带什么 |
狗狗体内驱虫用什么药最好 | 肌肉拉伤有什么症状 | 膈应什么意思 | 经常梦遗是什么原因 | 什么是叠词 |
马为什么站着睡觉 | avia是什么牌子 | 宝宝经常发烧是什么原因 | hpv病毒是什么意思 | 妍五行属什么 |
去台湾需要什么证件hcv8jop1ns4r.cn | 梦见买豆腐是什么意思hcv7jop5ns6r.cn | 属鸡的幸运色是什么颜色hcv9jop5ns1r.cn | 为什么晚上不能倒垃圾hcv7jop6ns8r.cn | 咖喱是什么东西dajiketang.com |
脸色发青是什么原因引起的hkuteam.com | 义子是什么意思hcv7jop4ns6r.cn | 良辰是什么意思bjcbxg.com | 梦见家里水管漏水是什么意思hcv8jop7ns5r.cn | 什么是有源音箱hcv9jop2ns5r.cn |
兵不血刃的意思是什么hcv8jop3ns6r.cn | 乙肝两对半挂什么科zhongyiyatai.com | 什么食物可以降血糖clwhiglsz.com | 稀奶油是什么hcv8jop0ns2r.cn | 黄牛票是什么意思hcv9jop2ns5r.cn |
大麦是什么粮食hcv7jop6ns9r.cn | 八月十五什么星座hcv9jop0ns8r.cn | 药流前需要做什么检查hcv7jop5ns3r.cn | 医院可以点痣吗挂什么科hcv9jop2ns8r.cn | 毛囊是什么hcv9jop2ns2r.cn |