Am i a needy girlfriend?

We are in a LDR set up, and when we date we make sure that it is a time well spent. He invited me last weekend to a going away party for his friend, and he got to the point that he always forgot about me being there when he mingles with his friends. It was my first time to meet his friends and i am an introvert so i can't mingle easily with his friends. I got upset and told him that i don't like how he is treating me that night, he said sorry but also said that he was sad because i thought of him as a careless boyfriend. This is the 2nd time that it happens. First case was during his brother's wedding. Why do i feel like it was my fault? Am i just a needy girlfriend?