【发布时间】:2012-12-08 09:10:03
【问题描述】:
我正在使用此功能在自己的墙上发帖,我想将帖子的隐私设置为 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.');
}*/
}
);
}
【问题讨论】:
-
这个帖子是发到你自己的墙上还是发到你朋友的墙上。因为根据privacy settings
Note: The privacy parameter only applies for posts to the user's own timeline and is ultimately governed by the privacy ceiling a user has configured for an app. It does not apply to posts made by an app on behalf of a user to another user's timelines or to Pages, events, or groups. In those cases, such posts are viewable by anyone who can see the timeline or content in the group or event. -
它在我自己的墙上。有任何想法吗?谢谢
标签: facebook facebook-graph-api facebook-apps privacy