开发者

Sending message to selected fb friends by using facebook javascript sdk

开发者 https://www.devze.com 2023-03-25 16:23 出处:网络
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

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

精彩评论

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