2011-09-14 7 views
0

가능합니까? 예를 들어 :페이스 북의 사진에 여러개의 태그를 붙이는 것

https://graph.facebook.com/PHOTO_ID/tags/user1,user2,user3,etc 

사실,이에 대안을 찾고 있어요 : 사전에

$friends = json_decode($facebook->api('/me/friends'), true); 
    $friends = $friends['data']; 
    foreach($friends as $friend) { 
    $id = $friend['id']; 
    $name = $friend['name']; 
      echo 'User='.$name.' state='.(PhotoTag($photo_id, $id) ? 'ok' : 'failed')."\r\n"; 
} 

감사합니다!

답변