开发者

making multiples tags on photos in facebook

it is possible? For example:

https://graph.开发者_如何学Pythonfacebook.com/PHOTO_ID/tags/user1,user2,user3,etc 

Actually, I'm looking for alternative to this:

  $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";
 }

Thanks in advance!


Try doing it via the batch requests feature of the Facebook Graph API.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜