You can download your facebook messages using this. Here it's how gonna look.
Use following command to install other dependency
pip install -r requirement.txt
and remeber to install fbchat 1.0.25 version, updated versions don't support many features.
Just run Message_linux.py for Linux and Message_windows.py for Windows, it will download all kind of attachments.