In my facebook application, I need an option, where users can add or remove the friends from a group. I see the
But all the samples I see only provides the option to send invite to application.
Is there any way to capture the selected ids from the control and perform the operation I need to do (add or remove the users from the group)
Any help is highly a开发者_如何学编程ppreciated.
What about programming your own interface for selecting friends? Just execute this FQL query:
select uid,first_name,middle_name,last_name,pic_square from user where uid in (SELECT uid2 FROM friend WHERE uid1 = me())
Of course you can get other fields: http://developers.facebook.com/docs/reference/fql/user/
Once you get the list, you can build your own interface.
精彩评论