I have a Facebook connect app / canvas IFrame app which has a Like
control for a fanpage.
I\'d like to detect when the user clicks the Like
butt
I think Facebook updated their documentation since I first looked :
Now its clearer :
http://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe
A 'like' click is the edge.create
event
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.
Source: Core Concepts › Social Plugins › Like Button