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.
精彩评论