Feeling left out

So I’m a sophomore in high school and my town is pretty small. For the past couple of weekends there have been a ton of parties but my best friend and I usually find out the moment of off of people’s snapchat stories. I thought I had friends but I guess they’re just people I talk to in school. I feel very left out and I confronted some of my “friends” about it and one person just said they didn’t think I was that type of person. Well I understand I don’t seem like I drink and stuff but it’s still nice to be invited and to hang out with friends. I don’t know what to do because I don’t want this to happen again. Please help!! I need advice!