For those who want to go a step further and block all Facebook traffic on their Linux machine
# for net in $(whois -h whois.radb.net -- '-i origin AS32934' | grep '^route:' | sed -e 's/.* //') ; do ipset add block-facebook-ips $net ; done
and if you have ipset-presistent
# /etc/init.d/ipset-persistent save
The same for IPv6 is left as an exercise for the reader.