I recently got my first medal! Its the hug medal, I'm very happy and excited because of that. I suppose that is the first medal everypony gets isn't it?
That Hug badge you got was from me. You deserve it, my friend!
I'm aware it may have looked as if @Buffy awarded you it. Usually you will get a notification from @Buffy saying that you earned a badge, even if it was given by another user.