What makes this file tricky
Facebook removes EXIF from the photos it stores, and the ZIP you download carries no original file dates either. Import that archive into Google Photos or Apple Photos and years of pictures land on the day of the download. The date of each photo survives only in the archive's JSON files (posts, albums and Messenger threads), next to the photo's path.
What the tool accepts
Needs the JSON-format export; the HTML format is not read. Facebook records the camera's capture time for only some photos: for the rest, and for every Messenger photo, the date written is the upload or send time, which can be days or years after the photo was taken. Dates are written as UTC, so photos near midnight can land one day off. EXIF is written to JPEG files only; videos, PNG and GIF get the date as the file date inside the ZIP. Photos that already have EXIF are copied unchanged, and photos not mentioned in any JSON are copied without a date. Up to 1 GB of ZIP per run: process a multi-part export one part at a time, together with the part that holds the JSON.