Reputation: 31
how to show thumbnail view of tagged friends of user in a photo as the most applications like 'top-friends' are doing.I've used graph api but it only shows name of tagged friends.
Upvotes: 3
Views: 493
Reputation: 12508
You dont need any package for this, just simple GD manipulations and merging the thumbnail pics on the original pic. You can collect the picture of the friends using their IDs:
https://graph.facebook.com/[userID]/picture
Put the ID over there on the this url to get the pictures of the friends, now you can merge them using the PHP GD library functions like imagecopymerge()
, check some tutorials and docs here. By doing the steps you can easily generate the images that you want to post on facebook and then just tag the friends and post it.
Upvotes: 1
Reputation: 98750
You can use photo.addTag
Download link: http://pearhub.org/get/facebook-0.1.0.tgz
Also read this: http://developers.facebook.com/blog/post/371
Upvotes: 1