1
0
Fork 0

owner link not getting set

This commit is contained in:
Friendika 2011-04-26 20:32:18 -07:00
parent 0d23f56ed2
commit 61f7b3d754

View file

@ -598,8 +598,8 @@ function fb_consume_stream($uid,$j,$wall = false) {
$datarray['verb'] = ACTIVITY_POST; $datarray['verb'] = ACTIVITY_POST;
if($wall) { if($wall) {
$datarray['owner-name'] = $self[0]['name']; $datarray['owner-name'] = $self[0]['name'];
$datarray['author-link'] = $self[0]['url']; $datarray['owner-link'] = $self[0]['url'];
$datarray['author-avatar'] = $self[0]['thumb']; $datarray['owner-avatar'] = $self[0]['thumb'];
} }
$datarray['author-name'] = $from->name; $datarray['author-name'] = $from->name;
$datarray['author-link'] = 'http://facebook.com/profile.php?id=' . $from->id; $datarray['author-link'] = 'http://facebook.com/profile.php?id=' . $from->id;