考虑用户访问在线新闻网站(nytimes,bbc等)并通过评论“好”或“坏”来分享Facebook或Twitter上的故事。我的问题是,新闻网站(在这种情况下,nytimes,bbc等)可以通过通知用户来控制分享故事吗?如果是,他们怎么能这样做?为了进一步说明这个问题,我想在下面的代码中使用':'更新/ cutomize FB.ui。我不知道如何解决这个问题。
FB.ui(
{
method: 'share',
href: 'https://developers.facebook.com/docs/',
name: 'something here',
link: 'http://www.example.com/' + username,
caption: 'Contributions to the open-source world.',
<comment> : <'disabled'>
},
function(response) {
if (response && !response.error_code) {
alert('Posting completed.');
} else {
alert('Error while posting.');
}
}
);