Go on your facebook app page (Applications > Developer > My Applications) click "Edit Settings". Then click "Connect". Make sure that the "Connect URL" matches your domain exactly.

There is no longer "Connect URL" in 'Edit Settings'.

Maybe this is the reason why my 'likes' are not being generated?

Anybody else have this problem?