I personally lived in a very backwater state, surrounded by racist conservatives, and was raised hardcore Catholic by
extremely abusive guardians. I owe every single ounce of my rationality to the web and the ideas and people I encountered there.
Facebook, etc are definitely terrible for kids. But the wording of these laws is intentionally vague, in order for these kinds of laws to be used according to the whim of the incumbent, as a tool of oppression.