That is ridiculous. Teachers are meant to teach their students about security and privacy to be safe online, but that is extreme.
Clearly, if your profile is open for your teacher to find you, it also means anyone can see your posts, so it is also a lesson in privacy because things you post on the internet can come back to haunt you. It is still extreme what happened, but utilize privacy settings.
