Php 在facebook的照片上制作多个标签

Php 在facebook的照片上制作多个标签,php,facebook,api,Php,Facebook,Api,有可能吗? 例如: 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'];

有可能吗? 例如:

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";
 }
提前谢谢

尝试通过Facebook Graph API的功能来实现