私は友人の名前を表示するために完全に機能している以下を使用しています
$access_token = "___access-token___";
$friendsList = json_decode(file_get_contents("https://graph.facebook.com/me/friends?access_token=".$access_token),true) ;
$data = $friendsList['data'] ;
foreach ($data as $nr => $friends)
{
echo $friends['name'].'<br /><br />'; // line AAA
}
しかし、行 AAA を $friends['birthday'] や $friends['picture'] などに変更しようとすると、何も得られませんか?? 何か案は?
ところで、再誕生日、私はこの情報を許可する範囲で friends_birthday を持っています