开发者

fb:multi-friend-selector, can I use it for other than sending invites?

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜