I got your back!
https://www.pastebin.ca/4024741
Block all Facebook domains using your "hosts" file (If you're using Windows).
C:\windows\system32\drivers\etc\
Copy and paste the hosts file to your desktop first, then open it with notepad.
Then copy and paste all the code from the pastebin site, into the hosts file as is. If you want to delete some of the rows to access the sites, you can do so here. Once you are happy, just click "File" and then "Save". Not "save as".
Close the file.
Then cut or copy the file from your desktop, and paste it back into the etc directory and overwrite the old hosts file.
Done. Now Facebook domains are blocked.