js | facebook api |从发送对话框中获取收件人

时间:2014-12-12 11:08:28

标签: facebook facebook-graph-api facebook-javascript-sdk

重复When a Facebook user sends the Send dialog within an application, can the application track the recipients?,但问题太旧了。

// calling the API ...
    var obj = {
        method: 'send',
        to: '',
        link: 'http://snow.sa-wd.ru',
        picture: 'http://snow.sa-wd.ru/images/preview-greeting.webp',
        name: 'test',
        caption: 'Submit to friend',
        description: 'Using Dialogs for posting to friends timeline.'
    };

    function callback(response) {
        console.log(response);
    }

如何获取收件人姓名?

1 个答案:

答案 0 :(得分:0)

您无法获得有关收件人的信息:

  

此对话框中没有响应数据。

来源:https://developers.facebook.com/docs/sharing/reference/send-dialog