当 Facebook 用户在应用程序内发送“发送”对话框时,应用程序可以跟踪收件人吗?
当用户打开发送对话框时(例如http://www.facebook.com/dialog/send?app_id=123050457758183&name=People%20Argue%20Just%20to%20Win&link=http://w www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html&redirect_uri=http://www.example.com/response)他们可以在“收件人:”行中添加或删除人员。
如果用户实际按下“发送”,应用程序是否有办法跟踪“收件人:”行中的人员?
When users open a Send dialog (e.g. http://www.facebook.com/dialog/send?app_id=123050457758183&name=People%20Argue%20Just%20to%20Win&link=http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html&redirect_uri=http://www.example.com/response) they can add or remove people from the To: line.
Is there a way for the application to track who was in the To: line if and when the user actually pushes Send?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不。
至少目前还没有......
如果您查看官方文档:https://developers.facebook.com/ docs/reference/dialogs/send/ 那么你可以看到这种类型的对话框不需要回调函数作为参数,并且由于没有回调函数,所以你无法知道谁和/或有多少收件人是,即使对话是关闭/取消/发送。
你可以做的,虽然看起来非常复杂而且令人头疼,是使用图形 api 中 User 对象的发件箱连接(http://developers.facebook.com/docs/reference/api/user/)。
我以前从未使用过它,但我想您可以(如果您请求 read_mailbox 权限)检查对话框之前和之后的用户消息,并查看发生了什么变化。
No.
At least not currently...
If you look at the official documentation: https://developers.facebook.com/docs/reference/dialogs/send/ then you can see that this type of dialog does not expect a callback function as a parameter, and since there's no callback function then you have no way of knowing who and/or how many recipients were, and even if the dialog is closed/canceled/sent.
What you can do, though seems very complicated and well, a headache, is to use the outbox connection of the User object in the graph api (http://developers.facebook.com/docs/reference/api/user/).
I've never used that before, but I guess that you can (if you ask for the read_mailbox permission) check the user messages before and after the dialog, and see what changed.