I have a Facebook connect app / canvas IFrame app which has a Like control for a fanpage.
Like
I\'d like to detect when the user clicks the Like butt
Official FAQ:
Q: How do I know when a user clicks a Like button? A: If you are using the XFBML version of the button, you can subscribe to the 'edge.create' event through FB.Event.subscribe.
Q: How do I know when a user clicks a Like button?
A: If you are using the XFBML version of the button, you can subscribe to the 'edge.create' event through FB.Event.subscribe.
Source: Core Concepts › Social Plugins › Like Button