Teachers get warning over Facebook chat