我的应用程序如何促进向多个朋友发送消息?

问题描述:

我有一个Facebook应用程序,该应用程序需要允许用户一次将消息发送给多个朋友(可能是他们的所有朋友).这不是垃圾邮件,并且我不需要该应用程序在后台发送隐身消息(我在后台),我只需要打开一个对话框,其中包含预先填充的特定朋友(该用户已在我的应用程序中选择了该对话框) (在先前的步骤中),然后向他们发送自定义消息.这可能吗?我看到了用于向单个朋友发送消息的API,并且看到了用于邀请用户加入我的应用程序的API(但这仅限于每天很少的邀请)...我需要的是一个对话框,该对话框可以让我向用户的好友发送消息,但我想控制*选择了哪些朋友...我不想让他们控制从好友列表中添加/删除.

I have a facebook app that needs to allow a user to send a message to multiple friends (potentially all their friends) at once. This isn't any kind of spam, and I don't need the app to send the message incognito (behind the scenes), I just need to open a dialog with specific friends pre-populated (that the user has selected within my app in a prior step) and then send them a custom message. Is this possible? I see the api for sending a message to a single friend, and I see the API for inviting users to my app (but that's limited to some very small number of invitations per day)... what I need is a dialog that lets me send messages to as many of the user's friends as they want, but for me to control *which friends are selected... I don't want to give them control to add/remove from the friends list.

这可能吗?

否,发送"对话框仅允许预填充一个朋友,但是如果您需要向收件人显示自定义消息,则发送"对话框将是最好的选择.您可以通过预先填写此内容来使用户循环发送给多个朋友-或不预先填充就触发对话框,让用户选择发送给谁-您的应用不会收到带有收件人ID的回叫,但您可以将发送的网址中存在引荐来源网址参数?

No, the Send Dialog allows prefilling only a single friend, but would otherwise be the best option here if you need a custom message displayed to the recipient. You could get the user to send to several friends in a loop by prefilling this - or fire the dialog without prefilling and let the user chose who to send to - your app won't receive a callback with the recipient IDs but you could put a referrer param in the URL sent?

如果没有,请求对话框/邀请"是您可以向多个收件人预填充的唯一内容,而不会期望此后不久您的应用将因垃圾邮件而关闭-每天发送的请求数量没有限制,但是您无法将显示的消息设置给收件人.

Failing that, the Requests dialog / 'invites' are the only thing you can prefill with multiple recipients without the expectation that your app will be shut down for spam shortly thereafter - there's no limit per day on the number of requests sent, but you don't get to set the message shown to the recipient.