ownaginatious / fbchat-archive-parser

An application for parsing chat history from a Facebook data archive.
MIT License
312 stars 38 forks source link

./messages.htm - could not find path #66

Closed holmstrom closed 6 years ago

holmstrom commented 6 years ago

Hello,

When I type fbcap ./messages.htm I get the respond "Error: Invalid value for "path": Could not open file: ./messages: Is a directory"

Do you know what the solution could be?

I have also tried to open the file in the terminal and make small modifications when typing the command.

ownaginatious commented 6 years ago

Are you sure you have the correct path? The instructions in the readme assume you have changed to the root of your extracted Facebook archive.

holmstrom commented 6 years ago

I cd to the direct facebook file (where the photos, videos, messages are in) in the terminal and then I am running the command. Am I doing it wrong? I see now, that I have a file called fbMessages.txt - but it is empty? Just got that file.

ownaginatious commented 6 years ago

Sorry, the messages.htm file is actually located under html/.

Try this from the root of your extracted archive: fbcap html/messages.htm

holmstrom commented 6 years ago

Thank you very much! I worked - fantastic! One quick bonus question (sorry to bother you).

Is it possible to get more statistic?

ownaginatious commented 6 years ago

Right now, the only stats are those produced by fbcap /path/to/messages.htm -f stats. If you have any ideas of what other statistics might be useful, I can see what I could possibly implement.

holmstrom commented 6 years ago

You're genius.

But thank you very much for your fast and excellent help. Very useful!