/{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
アクセス許可を持つユーザーアクセストークンが必要です。タグ付けできる友達のリスト
名前 | 説明 | 型 |
---|---|---|
| この友達をタグ付けするためだけに使用できるタグ付けトークン。ほかの目的には使用しません。このトークンは、安定したIDとは見なさないでください。ストーリーズでタグ付けするコンテキスト以外で友達を特定するためには使用できません。 |
|
| 友達の名前。 |
|
| 友達のプロフィール写真。 |
|
このエッジを使って公開することはできません。
このエッジを使って削除することはできません。
このエッジを使ってコメントを更新することはできません。