重复的Pinterest Facebook邀请功能 [英] Duplicate Pinterest Facebook invite functionality
问题描述
我正在尝试复制Pinterest的邀请朋友"功能.如果您没有看到它的外观,则如下所示:
I'm trying to duplicate Pinterest's "Invite Friends" functionality. In case you haven't seen what it looks like, it looks like this:
这里的重点是1)有多个收件人,并且2)您可以键入自定义消息.
This important points here are 1) there are multiple recipients and 2) you can type a custom message.
到目前为止,通过Facebook API,我仅找到了向单个用户发送自定义消息或向多个用户发送预定义消息的方法.我还没有找到一种向多个用户发送自定义消息的方法.
So far, with the Facebook API, I've only found ways to send a custom message to a single user or send a pre-canned message to multiple users. I haven't found a way to send a custom message to multiple users.
以下是让您仅向一个用户发送自定义消息的方法: https://developers.facebook.com/docs/reference/dialogs/send/
Here's what will let you send a custom message to just one user: https://developers.facebook.com/docs/reference/dialogs/send/
以下是让您向多个用户发送预先屏蔽的消息的方法: https://developers.facebook.com/docs/reference/dialogs/requests/
And here's what will let you send a pre-canned message to multiple users: https://developers.facebook.com/docs/reference/dialogs/requests/
那么他们如何做呢?我如何允许我的用户像Pinterest这样向多个收件人发送自定义消息?
So how are they doing it? How can I allow my user to send a custom message to multiple recipients like Pinterest is doing?
推荐答案
Facebook大约一个星期前对有关此问题的错误报告做出了回应,指出它是有意设计的". Pinterest和其他应用程序一起被列入白名单,以便能够包含多个收件人.如何进入白名单?在我之外.
Facebook responded to a bug report about this about a week ago, stating it was "by design". Pinterest, among other apps, are whitelisted to be able to include multiple recipients. How to get whitelisted? Beyond me.
请参阅 https://developers.facebook.com/bugs/314701778595814 ,以获得来自Facebook的完整官方回复(感到沮丧)开发人员的回复).
See https://developers.facebook.com/bugs/314701778595814 for full official response from Facebook (and frustrated responses by developers).
这篇关于重复的Pinterest Facebook邀请功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!