我正在使用此功能在自己的墙上发帖,我想将帖子的隐私设置为 FRIENDS。但它不起作用。始终保持默认应用隐私 (PUBLIC)。我怎样才能改变这个?
谢谢
function postToWall(message, header) {
FB.ui(
{
method: 'feed',
caption: header,
link: 'http://www.iflikeu.com',
picture: 'http://myapp.herokuapp.com/common/images/icon.png',
description: message,
privacy: {'value': 'ALL_FRIENDS'}
},
function(response) {
/*if (response && response.post_id) {
alert('Post was published.');
} else {
alert('Post was not published.');
}*/
}
);
}