The court found the accused guilty of “justifying terrorism”.
The student must also attend a course in which the fundamental values of the French Republic will be studied for six months.
The student regretted what she had done in court and explained that she had made an entry on the social network “without thought”.
The record, which was later deleted, claimed that the victim deserved to die.
The 47-year-old history teacher was murdered on October 16 on the western outskirts of Paris in Conflan-Sentonorin at the school where he worked. His head was cut off.
The attacker was 18-year-old Moscow-born Chechen immigrant Abdullah Anzorov. Police shot the killer, and he later died from his injuries.
Investigators believe that Anzorov attacked Pati because a teacher had shown cartoons about the Muslim prophet Muhammad to students in an early freedom class in early October.
One of the suspects is the father of one of Pat’s students. He had started an online campaign against Pat.
Published VIDEO on the elimination of a terrorist who beheaded a French teacher
Anzorov left Russia with his parents in 2008 and received political asylum in France, the Russian embassy said.
The murder itself shocked France. Thousands of people took to the streets last weekend to show solidarity with the murdered teacher.