Is it possible to know to which friends the user sent a message using the Facebook send dialog?

后端 未结 1 770
借酒劲吻你
借酒劲吻你 2021-01-27 11:21

As far as I know, the Facebook send dialog does not have any callback parameters (like the feed dialog). But, I would like to be able to store the recipients of that message in

相关标签:
1条回答
  • 2021-01-27 11:53

    You can subscribe a call-back function via javascript on your page that has the send dialog See: http://developers.facebook.com/docs/reference/plugins/send/ and http://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/

    message.send - fired when the user sends a message using the send button. The response object passed into the callback function contains the URL which was sent:

    So according to the documentation you will only get the URL shared, so if you had multiple Send buttons on a page, you can tell which one was clicked.

    For security and privacy reasons you cannot get the recipients of that message.

    0 讨论(0)
提交回复
热议问题