<human>: Give me the gist of the text in a nutshell

Ok so the full story. I don't like him at all and he feels the same. But that's not really relevant. This involves my friend [F,18], me [M,19] and her boyfriend [M,25]. So this is a girl who I have been friends with for a long time. She and I used to have sex, depending if one of us was in a relationship with someone, but we stopped a bit before she started this guy.  He wanted to date her back when she was 16 but her parents forbid it. I originally told her to be wary about him due to him being in his 20s and wanting to date someone who is 16 at the time, and because of this, he doesn't like me starting off.
  
Now that she's 18 they've started dating. I want to hang out her (close friends) and have tried on multiple occasions but this guy has told her that he would break up with her if she hung out with me again. I told her this sounded like manipulation to me (she has severely wanted this relationship to work out for a while and I know he knows that) but she keeps saying that "he had a past where he was hurt before by someone" as his reasoning for such a thing and how he doesn't trust me and thinks "one thing will lead to another".   
  
I personally think he just thinks of her as an object (she has said that he is a bit possessive) and he is insecure/treated, and I do not think he is justified in telling her she can't hang out with me and threatening her with a breakup if she hung out with me. She said he gets angry now when I "like" or comment on her Facebook posts, and has asked me to undo that because she "doesn't want to upset him".  
  
 I honestly don't know what to do and dont know of I'm in the wrong here as well so I would greatly appreciate advice and thoughts from an outside viewer.
<bot>: friend's boyfriend doesn't let me hang with her and wants her to avoid me because of "problems in his past"