Ajax listener for Like Button
===

I have a few like buttons on my page and I would like to trigger a php script (by ajax) when somebody "likes" or "doesn't like".

I see that when somebody "likes" a POST and a GET are triggered. When somebody does a "doesn't like" just a post is triggered. (this could be a way to differentiate both actions).

How could I intercept these triggered actions ? is there a way to get the parameters of the post ?

Thank you very much,

Regards