It also bans poking, tagging, liking and private messaging between teachers and students on Facebook.
But it goes even further.
The law also prohibits private electronic communication between teachers and students, including Tweets and text messages. The key stipulation is private versus public communications.
But questions remain how the new law will be regulated in schools. Teachers are allowed to communicate with students on websites, as long as it's done in a public forum like a classroom blog or website.