Script to convert Facebook "download all your stuff" into md?

Facebook allows users to download all their fb content - messages, pictures, everything. As part of my unwinding my fb use I want to convert fb posts into hugo posts. It certainly looks possible to parse the fb content. Not easy - not json or anything, but possible.

Before I get stuck in I just wondered if anyone else had done this already…

1 Like

As far as I know there is no such script.

But with Hugo’s getJSON function you could probably render pages from your archive rather than converting it to markdown.

The fb archive isn’t JSON . It’s in lots of cryptically name html files.

They offer JSON, but you need to select it. See screenshot below:


Doh! It’s a breeze then. Thanks! You have saved me quite a bit of work…