GET /v23.0/{ad-set-id}/targetingsentencelines 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(
'/{ad-set-id}/targetingsentencelines',
'{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(
"/{ad-set-id}/targetingsentencelines",
function (response) {
if (response && !response.error) {
/* handle the result */
}
}
);
/* make the API call */
new GraphRequest(
AccessToken.getCurrentAccessToken(),
"/{ad-set-id}/targetingsentencelines",
null,
HttpMethod.GET,
new GraphRequest.Callback() {
public void onCompleted(GraphResponse response) {
/* handle the result */
}
}
).executeAsync();
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
initWithGraphPath:@"/{ad-set-id}/targetingsentencelines"
parameters:params
HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
id result,
NSError *error) {
// Handle the result
}];
从这条连线读取将返回一个 JSON 格式的结果:
{ "
data
": [], "paging
": {} }
data
paging
错误 | 描述 |
---|---|
100 | Invalid parameter |
眉毛中间长痘痘是什么原因hcv7jop7ns1r.cn | 眼睛干涩吃什么药hcv9jop4ns3r.cn | 甲状腺结节有什么症状表现hcv9jop0ns6r.cn | 玫瑰糠疹吃什么药0297y7.com | 民不聊生是什么意思huizhijixie.com |
世界上最难的字是什么hcv9jop7ns5r.cn | 天麻有什么功效hcv9jop7ns9r.cn | 下饭菜都有什么菜hcv9jop2ns6r.cn | 起死回生是什么意思hcv9jop8ns3r.cn | 11.6号是什么星座hcv7jop5ns0r.cn |
甘油三酯偏高吃什么药hcv8jop2ns8r.cn | 晚上八点半是什么时辰hcv8jop5ns1r.cn | 熟啤酒是什么意思hcv7jop9ns9r.cn | sorona是什么面料hcv9jop7ns4r.cn | 戊肝阳性是什么意思hkuteam.com |
人参补什么gysmod.com | 患得患失是什么意思hcv8jop4ns2r.cn | 十年大运是什么意思hcv9jop6ns6r.cn | 六角恐龙吃什么hcv8jop4ns5r.cn | 胃窦炎吃什么药最好hcv9jop5ns6r.cn |