Add facebook.com, facebook.net and fbcdn.net to your blacklist. This definitely does it for Facebook. If not, then your problem is of a different nature, for example that you don't use OpenDNS, but a different DNS service.
Check it here: http://welcome.opendns.com/
Please note, a domain in the blacklist or whitelist also generally covers all its subdomains (and even the aliases), that's why the three domains mentioned above cover almost all domains from that Github list.
Further, regarding this list at Github, this also covers WhatsApp and Instagram which you may not want to block. (But you easily could if you wanted.)