Is OTHER wrong in the post ? POST : English is not my first language . Apologies for the wall of text and my awkward writing . Also , I understand I am 17 . I may be overreacting a bit and life certainly isn't over yet . Please do not patronize me .

A little background first .
We're both 17 and go to the same school . We liked each other for a while and tried dating . It was my first time and I was too shy  to properly communicate . Didn't work out for various reasons . Over time I got a bit worried she wasn't interested in me anymore and feared for our relationship . She kindly cleared my doubts for me . Apparently , she had already concluded it wasn't working and didn't see me as her boyfriend in the first place .


After taking a screenshot of our convo to remind me that I had reached the peak of my life , I conveyed my displeasure about being led on and she didn't took kindly to it . She was quite rude . We had completely opposite viewpoints about the whole situation so I basically considered myself as being dumped  and ended things with her . She cooled down after a while and tried a lot to talk to me . She initiated contact all the time even though I made it clear I wanted nothing to do with her . She apologized , said she messed up and understands where she went wrong , and told me she misses me a lot .  While I initially enjoyed the attention , It went on for months and guilt arose in me . I tried to look at things objectively , realized it was no one's fault in particular and decided to try being friends with her again . We enjoyed talking to each other and things were going fine . 


Yesterday , while walking to my class , her group called out to me . Now I will admit she is quite popular while I am not . I do have my own group of friends with whom I hang around and I think I am generally well-liked but I can get a bit shy and awkward sometimes . I also prefer being alone rather than tagging behind the first acquaintance I see so it could easily be misconstrued that I am a friendless loner . 

So Friend A tried to have fun on my expense . Considering the fact I barely knew him , he came off like an asshole putting me down . One thing led to another and we nearly started fighting . The whole time she stood there without saying a word , like she didn't know me even though I was her best friend according to her . Back when we first confessed to each other , she made it clear she didn't want anyone to know about us as she hated others interfering with her personal life . I did as she wanted but it honestly hurt me as she acted like we didn't know each other and refused to acknowledge my existence infront of her classmates . She did sometimes greeted me when accompanied by other friends of her so I took it as her not wanting to create rumours in her class .

The whole experience made me remember all of our issues . Now I understand it was my problem and I don't expect anyone to stand up for me . I would honestly be embarrassed if that was to happen . But she didn't even gave me as much as a second look . I felt disrespected , like I was some sort of shameful secret being hidden . We went on our separate ways , she with the same people including the guys who picked a fight with me . I wasn't over her and even thinking about her hurt like hell , yet I was doing my best to support her and be a good friend . This was sort of the last straw for me . I texted her and told her I couldn't put up with this anymore . I was totally honest , told her that I couldn't be friends with her after all as I still liked her and it was a torture for me . I told her I felt she doesn't really care about me , which is of course fine , but since I like her , it is best for me to forget about her asap . I was a bit emotional and blocked her everywhere . Now I genuinely believe that not seeing her anymore is the best for me but I do feel I could have handled it better . So , AITA ?


Tldr; ex gf ignored me for the umpteenth time in front of her friends and I blocked her everywhere , ending our friendship . AITA ?