如何在Facebook Message API上为“to”字段传递多个用户ID

时间:2012-03-28 06:14:44

标签: facebook facebook-graph-api fbjs

如何在Facebook Message API上为“to”字段传递多个用户ID,无论传递多少ID,消息插件只选择一个id。是否有可能在收件人字段中选择多个ID?

功能facebook_send_message(to){

FB.ui({
    app_id:'xxxxxxxx',
    method: 'send',
    name: "sdfds jj jjjsdj j j ",
    link: 'https://apps.facebook.com/xxxxxxxaxsa',
    to:[4345445,345345,345345],
    description:'sdf sdf sfddsfdd s d  fsf s '

});

}

1 个答案:

答案 0 :(得分:0)

FB.ui({     APP_ID: 'XXXXXXXX',     方法:'发送',     名称:“sdfds jj jjjsdj j j”,     链接:'https://apps.facebook.com/xxxxxxxaxsa',     到:“4345445,345345,345345”     描述:'sdf sdf sfddsfdd s d fsf s'

});