开发者

Unable to set privacy for newly created Album

I am trying to create Album that is visible to everyone:

FB.api("/me/albums", "post", {
    name: "album name", privacy: '{"value":"EVERYONE"}'
}, function(response) {
    //...
});

but it gets created with friends privacy.

Docs say that privacy field is:

A JSON-encoded object that defines the privacy setting for the album, fo开发者_运维问答r example: {"value":"SELF"}

value: The privacy value for the object, specify one of EVERYONE, CUSTOM, ALL_FRIENDS, NETWORKS_FRIENDS, FRIENDS_OF_FRIENDS, SELF.

I tried '{"value":"EVERYONE"}', {"value":"EVERYONE"}, {value:"EVERYONE"} - no effect. Is this a bug or I am missing something?


This happens because the new per-app post privacy control is set to Friends so this App can only set privacy as wide as friends.

Please read the following blog post for more info: https://developers.facebook.com/blog/post/543/


I just filed it as a bug in the Facebook Bug Tracker. Please vote.


UPDATE: This is because of the new "per-app post privacy control". Please check @AlexandreCouturon answer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜