所以the documentation显示此:
FB.ui(
{
method: 'feed',
name: 'Facebook Dialogs',
link: 'https://developers.facebook.com/docs/reference/dialogs/',
description: 'Dialogs provide a simple, consistent interface for applications to interface with users.'
},
function(response) {
if (response && response.post_id) {
alert('Post was published.');
}
}
);
那太好了。但我找不到任何有关传递给回调函数的 response
变量内容的文档。这有记录在任何地方吗?具体来说,我想要一种方法来检索链接刚刚“共享”到的用户数量。 虽然上面的代码使用“feed”方法,但我使用的是“send”方法。
最佳答案
关于javascript - 哪些数据被传递给从 FB.ui( ) 调用的回调函数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11785814/