Do I miss him or the attention?

I was talking to someone who I was into, he was a great guy and everything but we stopped talking. I feel kinda down about it since we stopped and I wonder if I miss him or just the attention he gave me? How can I tell the difference?