diff options
author | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-05-31 07:36:25 +0200 |
---|---|---|
committer | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-05-31 07:36:25 +0200 |
commit | 745d075397941e0a84d017342bb9c4c4a4c1ef5b (patch) | |
tree | 98c1e5e93952b281dbedb63c1fb2e18344153202 /addon | |
parent | 087f79236e79975d482f739e84cc16f6648e1bec (diff) | |
parent | f95ea14478e256d7eb331385746f83532d78d84a (diff) | |
download | volse-hubzilla-745d075397941e0a84d017342bb9c4c4a4c1ef5b.tar.gz volse-hubzilla-745d075397941e0a84d017342bb9c4c4a4c1ef5b.tar.bz2 volse-hubzilla-745d075397941e0a84d017342bb9c4c4a4c1ef5b.zip |
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'addon')
-rw-r--r-- | addon/facebook/facebook.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php index b1ba6342a..dc1aa02dd 100644 --- a/addon/facebook/facebook.php +++ b/addon/facebook/facebook.php @@ -725,8 +725,10 @@ function fb_consume_stream($uid,$j,$wall = false) { // don't store post if we don't have a contact - if(! x($datarray,'contact-id')) + if(! x($datarray,'contact-id')) { + logger('no contact: post ignored'); continue; + } $datarray['verb'] = ACTIVITY_POST; if($wall) { @@ -759,8 +761,10 @@ function fb_consume_stream($uid,$j,$wall = false) { intval($top_item), intval($uid) ); - if(count($r)) + if(count($r)) { $orig_post = $r[0]; + logger('fb: new top level item posted'); + } } if(isset($entry->likes) && isset($entry->likes->data)) |