Try to find out that why people do not like her.
Ask some of the girl in the class & whatever they tell; you can explain to them that this is only misunderstanding.
Slowly the situation will get better.
If your friend is not upset b/c of that, you should not worry. If she will bring good grades in study she will be respected more inshallah.