From: Friendika Date: Wed, 27 Apr 2011 01:14:38 +0000 (-0700) Subject: missed pulling FB comment timestamp, defaulted to now X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5f1bdad4bb1ee17508fe80a1d2b38fa9afe1f842;p=friendica.git missed pulling FB comment timestamp, defaulted to now --- diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php index b7244df954..6fdce1485f 100644 --- a/addon/facebook/facebook.php +++ b/addon/facebook/facebook.php @@ -712,6 +712,8 @@ function fb_consume_stream($uid,$j,$wall = false) { if(count($r)) $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['author-name'] = $cmnt->from->name; $cmntdata['author-link'] = 'http://facebook.com/profile.php?id=' . $cmnt->from->id;