I currently have a like button on my app and I need to detect when this is clicked so that I can trigger some javascript.
Currently I use this:
FB.Event.subscribe('edge.create', function(response) {});
In order for this to work you must use the FBML version of the like button. It does not work with the HTML5 version.
I am wondering what the situation will be from Jan 1st when FBML is deprecated?
Thanks
FBML and xFBML aren’t the same thing.
xFBML is used to add buttons easily to web pages.
FBML was a language used to develop canvas apps.
If FBML is deprecated, xFBML isn’t planned to be removed !
Source : https://developers.facebook.com/blog/post/568/