This is one of those moments when things happen when you don’t know what you are doing. Even worse when you realize what you did and there is no way back from it.
Teacher sent a private message or thought she did and it end up on her Facebook wall for the pleasant surprise of her students.