fix FB privacy
parent
02d0b54f04
commit
3b10d9f8fe
|
@ -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 New Issue