diff options
author | Friendika <info@friendika.com> | 2011-04-26 18:14:38 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-26 18:14:38 -0700 |
commit | 5f1bdad4bb1ee17508fe80a1d2b38fa9afe1f842 (patch) | |
tree | 4c713c1ddc9547aedc728a5ef9992fcd82077291 /addon | |
parent | f97cfa79d9ee6f942ab8c8629f0a347ddf27cbd5 (diff) | |
download | volse-hubzilla-5f1bdad4bb1ee17508fe80a1d2b38fa9afe1f842.tar.gz volse-hubzilla-5f1bdad4bb1ee17508fe80a1d2b38fa9afe1f842.tar.bz2 volse-hubzilla-5f1bdad4bb1ee17508fe80a1d2b38fa9afe1f842.zip |
missed pulling FB comment timestamp, defaulted to now
Diffstat (limited to 'addon')
-rw-r--r-- | addon/facebook/facebook.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php index b7244df95..6fdce1485 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; |