Is he flirting with me?

So i have a guy that i met through my friend. We would hang out as a group sometimes. Last year i felt like maybe he liked me. But not sure. He then had a kind of girlfriend and we haven't really spoken. I only have him on snap and i didn't post anything for months. Last time i saw him was at a party where me and our mutual friend was. He just said hi and gave me a short hug and didn't say anything to me except that. Now before that party i was in his city. I just posted it today and he immediately responded and was like why didn't u say you was here?" How should i respond? We dont even reqlly talk so for what for should i have told him? What is a good r3sponse. To know what he wanrs but not too bold that i look desperate

Is he flirting with me?
Post Opinion