forked from friendica/friendica-addons
facebook comments not working
This commit is contained in:
parent
c3e8c695a8
commit
9a7d828340
5 changed files with 16 additions and 15 deletions
BIN
facebook.tgz
BIN
facebook.tgz
Binary file not shown.
|
@ -511,7 +511,6 @@ function facebook_post_hook(&$a,&$b) {
|
||||||
|
|
||||||
$toplevel = (($b['id'] == $b['parent']) ? true : false);
|
$toplevel = (($b['id'] == $b['parent']) ? true : false);
|
||||||
|
|
||||||
if(strstr($b['postopts'],'facebook')) {
|
|
||||||
|
|
||||||
$linking = ((get_pconfig($b['uid'],'facebook','no_linking')) ? 0 : 1);
|
$linking = ((get_pconfig($b['uid'],'facebook','no_linking')) ? 0 : 1);
|
||||||
|
|
||||||
|
@ -529,6 +528,8 @@ function facebook_post_hook(&$a,&$b) {
|
||||||
logger('facebook reply id=' . $reply);
|
logger('facebook reply id=' . $reply);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(strstr($b['postopts'],'facebook') || ($reply)) {
|
||||||
|
|
||||||
if($b['private'] && $reply === false) {
|
if($b['private'] && $reply === false) {
|
||||||
$allow_people = expand_acl($b['allow_cid']);
|
$allow_people = expand_acl($b['allow_cid']);
|
||||||
$allow_groups = expand_groups(expand_acl($b['allow_gid']));
|
$allow_groups = expand_groups(expand_acl($b['allow_gid']));
|
||||||
|
|
BIN
statusnet.tgz
BIN
statusnet.tgz
Binary file not shown.
BIN
twitter.tgz
BIN
twitter.tgz
Binary file not shown.
BIN
widgets.tgz
BIN
widgets.tgz
Binary file not shown.
Loading…
Reference in a new issue