Facebook 使用收件人数组向多个朋友发送对话 [英] Facebook send dialog to multiple friends using a recipients arrays

查看:20
本文介绍了Facebook 使用收件人数组向多个朋友发送对话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Facebook 新的发送对话框允许人们向特定的朋友发送内容.但是 API @ https://developers.facebook.com/docs/reference/dialogs/send/ 表示参数TO"的意思是用户 ID 或用户名".

The Facebook new Send Dialog lets people to send content to specific friends. But the API @ https://developers.facebook.com/docs/reference/dialogs/send/ said the parameter 'TO' means "A user ID or username".

我想知道有没有一种方法可以一次向多个朋友发送消息.我试图将to"设置为 javascript 数组,但这不起作用.

I wonder is there a method to send message to multiple friends at one time. I tried to set the 'to' as a javascript arrays, but that does not work.

推荐答案

目前 sdk 似乎只从传递给To"参数的数组中获取第一个元素.这真的很烦人,并且没有对这个设计决定给出正式的解释.我希望它可以使用多个 uid 或电子邮件、群组名称等.

It seems that currently the sdk only takes the first element from the array that is passed to "To" parameter. This is really annoying and no formal explanation is given to this design decision. I'd wish it can take more than one uids or emails, group names etc.

这篇关于Facebook 使用收件人数组向多个朋友发送对话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆