From 5f1bdad4bb1ee17508fe80a1d2b38fa9afe1f842 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 26 Apr 2011 18:14:38 -0700 Subject: [PATCH] missed pulling FB comment timestamp, defaulted to now --- addon/facebook/facebook.php | 2 ++ 1 file changed, 2 insertions(+) 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;