本文介绍了无法为新创建的相册设置隐私的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

,但使用朋友隐私创建。



隐私字段是:

我尝试过'{value:EVERYONE}' code>, {value:EVERYONE} {value:EVERYONE} 没有效果。这是一个错误还是缺少某些东西?

解决方案

我刚提交为在Facebook Bug Tracker。请投票。






更新:这是因为每个应用程式的新隐私权控制。请检查@AlexandreCouturon答案。


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:

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

解决方案

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.

这篇关于无法为新创建的相册设置隐私的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 01:03