当Facebook用户在应用程序中发送“发送”对话框时,应用程序是否可以跟踪收件人? [英] When a Facebook user sends the Send dialog within an application, can the application track the recipients?

查看:142
本文介绍了当Facebook用户在应用程序中发送“发送”对话框时,应用程序是否可以跟踪收件人?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户打开发送对话框(例如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他们可以从收件人行中添加或删除人员,即 - 获胜者 - assert.html& redirect_uri = http://www.example.com/response )。如果用户实际推送发送,应用程序是否可以跟踪哪些人在To:行?

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?

非常感谢!

Nick

推荐答案


至少不是...

No. At least not currently...

如果您查看官方文档:https://developers.facebook.com/docs/reference/dialogs/send/ ,那么您可以看到这种类型的对话框并不期望回调函数作为参数,并且既然没有回调函数,那么你无法知道谁和/或多少收件人,即使对话框被关闭/取消/发送。

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.

什么你可以做,虽然看起来很复杂,很好,头痛,是使用图形api中的User对象的发件箱连接( http://developers.facebook.com/docs/reference/api/user/ )。
我以前从来没有使用过,但我猜你可以(如果你要求read_mailbox的权限)在对话框之前和之后检查用户的消息,看看有什么变化。

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.

这篇关于当Facebook用户在应用程序中发送“发送”对话框时,应用程序是否可以跟踪收件人?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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