fb contacts getting mixed up.
This commit is contained in:
parent
5996e2cd4c
commit
3ea145fae7
|
@ -700,13 +700,17 @@ function fb_consume_stream($uid,$j,$wall = false) {
|
||||||
);
|
);
|
||||||
if(count($r))
|
if(count($r))
|
||||||
$orig_post = $r[0];
|
$orig_post = $r[0];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isset($entry->likes) && isset($entry->likes->data))
|
if(isset($entry->likes) && isset($entry->likes->data))
|
||||||
$likers = $entry->likes->data;
|
$likers = $entry->likes->data;
|
||||||
|
else
|
||||||
|
$likers = null;
|
||||||
|
|
||||||
if(isset($entry->comments) && isset($entry->comments->data))
|
if(isset($entry->comments) && isset($entry->comments->data))
|
||||||
$comments = $entry->comments->data;
|
$comments = $entry->comments->data;
|
||||||
|
else
|
||||||
|
$comments = null;
|
||||||
|
|
||||||
if(is_array($likers)) {
|
if(is_array($likers)) {
|
||||||
foreach($likers as $likes) {
|
foreach($likers as $likes) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user