Is AUTHOR wrong in the post ? POST : We've been together for more than a year now and she already indirectly told me before that I'm the first priority in her life. 
Context: It was her birthday a few days ago, i was preparing some stuff for her and bought her a birthday present. When her birthday came, i had to visit early in the afternoon but due to some problems in my family i couldn't go that early. So, i told her that i wouldn't be able to come because i wanted to give her a surprise when she wouldn't expect me to visit her house. I texted her bestfriend too and she was also going a bit late so we both decided to dupe her into thinking that we both aren't going to come. But when we (we called some other friends too) went to her house, she sees everyone and hugs her bestfriend, and another friend of hers while i was still just by her side. She went on to ignore me (dk if it was intentional or unintentional). So, today i ask her about this and tell her that i felt somewhat ignored but she basically told me that i shouldn't be this insecure about these little things and i should change this habit of mine. FYI she's not that expressive about the love physically or vocally always but i know she cares about me and loves me alot because she does spend most of the time when she's alone with me when she's alone or if there are no friends around and she did alot for my birthday too by making some DIY stuff i could never make in a lifetime. 
Am i in the wrong for asking some attention in social settings? I feel left out. If i am being too insecure, I'd love to change that and become better for her because i know that we'll stick together forever but i just don't want to hurt her by nagging her about these things.
Help.