dmhacker / facebook-message-analysis

Visualizations of Facebook messenger history

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New fb data quirks

Alexander-Weinberg opened this issue · comments

Hi this is an amazing tool!

I just used it today and wanted to let you know two small edits I had to make (Python3 on mac).
The first is to chang the name of the json bit and the second is to then adjust from milliseconds to seconds. After that it works great.

  1. return sorted(copied_messages, key=lambda message : message['timestamp_ms'])
    
  2.     date = datetime.datetime.fromtimestamp(message['timestamp_ms'] / 1000)
    

Best,
Alex

Fixed with #2 and #4. :)