Hello anaida, it sounds like you're putting yourself through a rough time. I can't say I've had the same experiences as you, but I know I used to rely on my social image in order to feel secure with myself. I still do somewhat and it's hard to get over. Growing up with a parent that puts you down can make you feel like there's always something wrong with you even if there isn't. With your self image weakened by your mom and others who didn't understand your OCD and maladaptive daydreaming disorder, you may have had to compensate for your image and feelings in other ways. It sounds like you feel the need to be really smart in what you are interested in so that you can prove to yourself your worth. Although it seems like you love history and studying in general, I think it should be a love only, and not something to hold up your self-esteem on its own.
There may be many reasons why your FB friend got angry. I can think of a few. He may have taken your words more aggressively than they were intended because it's hard to convey emotions over the internet. That can be more likely if it was a subject he was sensitive about. He may also not realize you didn't mean anything personal by talking about your point of view. I can relate to that, because I love nonaggressive discussions of disagreements about subjects I'm interested in. It's a good way to learn about different viewpoints and getting to the heart of the subject itself. Another reason is that he just may not have been so rational about everything, and this was one of those things. Or he had been silently building up frustrations from other disagreements in the past that he didn't let show. However, it's impossible for me to know, of course. It's just something that comes to mind. Nothing was your fault if you didn't mean it, and especially if you used nonaggressive language.
About people who just have been belittling your opinion and knowledge lately, I'm very sorry to hear that

. It can be the worst sometimes when everyone's disagreeing, especially if they're in a "group" of a certain type of thought that they feel the need to be totally loyal to. That could get anyone down.