In this config you can find an easy and cheap solution on how to block Facebook.com on any Linux desktop using /etc/hosts file. This is not a bulletproof solution but should help as a first level privacy protection for your kids, yourself or should aid if your students do not pay enough attention in the class.
Below you can find a list of facebook.com subdomains:
- m.facebook.com
- upload.facebook.com
- apps.facebook.com
- newsroom.fb.com
- developers.facebook.com
- touch.facebook.com
- pixel.facebook.com
- static.facebook.com
- beta.facebook.com
- graph.facebook.com
- login.facebook.com
- inyour.facebook.com
- secure.facebook.com
- latest.facebook.com