fix FB privacy
This commit is contained in:
parent
02d0b54f04
commit
3b10d9f8fe
2 changed files with 1 additions and 1 deletions
|
@ -701,7 +701,7 @@ function facebook_post_hook(&$a,&$b) {
|
|||
$postvars['name'] = $linkname;
|
||||
}
|
||||
|
||||
if(($b['private']) && (! $b['parent'])) {
|
||||
if(($b['private']) && ($toplevel)) {
|
||||
$postvars['privacy'] = '{"value": "CUSTOM", "friends": "SOME_FRIENDS"';
|
||||
if(count($allow_arr))
|
||||
$postvars['privacy'] .= ',"allow": "' . implode(',',$allow_arr) . '"';
|
||||
|
|
BIN
twitter.tgz
BIN
twitter.tgz
Binary file not shown.
Loading…
Reference in a new issue