She doesn't know the guy personally just an online guy she talks to
Then yes, you have every right to be upset.
If this is some guy on the internet that knows nothing about the real you then your friend should have stuck up for you no questions asked.