I'm assuming this only applies prior to the age of consent. Professors at state universities across the country are allowed to date any student at a consenting age, so I would imagine that the social networking aspect of their relationship wouldn't be prohibited.