开发者

Sending message to selected fb friends by using facebook javascript sdk

I am trying to send message to selected facebook friends by using facebook' javascript sdk. I am using the method below but it only get last id of the array. How should I pass the parameter that will allow to send multiple friends. I want to send message to all friends' ids in the array.

      //id of selected friends
      var myFriends=["5029034**","5992788**"];

      FB.ui({
      method: 'send',
      to: myFriends,
      name: 'Bind vs Live vs Delegate in Jquery ',
      link: 'http://example.com/2011/05/25/jqueryde-bind-vs-live-vs-delagate/',
      });

Thanks开发者_如何学运维 in advance,


I think what he was looking for was the apprequests method.

More info.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜