/{user-id}
/taggable_friends
此端點已停用。
可標籤或提及的朋友清單,用戶可在發佈至 Facebook 的動態中標籤或提及這些朋友。
/me/taggable_friends
關係連線傳回標籤憑證後,可以使用這些標籤憑證的位置包括:
GET /v19.0/me/taggable_friends 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(
'/me/taggable_friends',
'{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(
"/me/taggable_friends",
function (response) {
if (response && !response.error) {
/* handle the result */
}
}
);
/* make the API call */
new GraphRequest(
AccessToken.getCurrentAccessToken(),
"/me/taggable_friends",
null,
HttpMethod.GET,
new GraphRequest.Callback() {
public void onCompleted(GraphResponse response) {
/* handle the result */
}
}
).executeAsync();
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
initWithGraphPath:@"/me/taggable_friends"
parameters:params
HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
id result,
NSError *error) {
// Handle the result
}];
user_friends
權限的用戶存取憑證。可標籤的朋友清單:
名稱 | 描述 | 類型 |
---|---|---|
| 只能用於標籤朋友,沒有任何其他用途的標籤憑證。此憑證不應將視為穩定的編號,而且不能用於限時動態朋友標籤的情況以外尋找朋友。 |
|
| 朋友姓名。 |
|
| 朋友的個人檔案相片。 |
|
您無法使用此關係連線發佈內容。
您無法使用此邊緣刪除內容。
您無法使用此邊緣作出更新。