]> git.mxchange.org Git - friendica.git/commitdiff
missed pulling FB comment timestamp, defaulted to now
authorFriendika <info@friendika.com>
Wed, 27 Apr 2011 01:14:38 +0000 (18:14 -0700)
committerFriendika <info@friendika.com>
Wed, 27 Apr 2011 01:14:38 +0000 (18:14 -0700)
addon/facebook/facebook.php

index b7244df954abffedc0833a4262c606ad129d816b..6fdce1485f157ef7fb8095985f4dbf971e2f6770 100644 (file)
@@ -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;