This happens all the time, you can get a double post or click twice.
On the like, watch the cursor, and be sure to wait until it changes as you hover over the like button. If you wait it will always work. I just noticed I do this by instinct now.
Greg