missed pulling FB comment timestamp, defaulted to now
This commit is contained in:
parent
f97cfa79d9
commit
5f1bdad4bb
1 changed files with 2 additions and 0 deletions
|
@ -712,6 +712,8 @@ function fb_consume_stream($uid,$j,$wall = false) {
|
||||||
if(count($r))
|
if(count($r))
|
||||||
$cmntdata['contact-id'] = $r[0]['id'];
|
$cmntdata['contact-id'] = $r[0]['id'];
|
||||||
}
|
}
|
||||||
|
$cmntdata['created'] = datetime_convert('UTC','UTC',$cmnt->created_time);
|
||||||
|
$cmntdata['edited'] = datetime_convert('UTC','UTC',$cmnt->created_time);
|
||||||
$cmntdata['verb'] = ACTIVITY_POST;
|
$cmntdata['verb'] = ACTIVITY_POST;
|
||||||
$cmntdata['author-name'] = $cmnt->from->name;
|
$cmntdata['author-name'] = $cmnt->from->name;
|
||||||
$cmntdata['author-link'] = 'http://facebook.com/profile.php?id=' . $cmnt->from->id;
|
$cmntdata['author-link'] = 'http://facebook.com/profile.php?id=' . $cmnt->from->id;
|
||||||
|
|
Loading…
Reference in a new issue