Hi,
probably I have found answer on
http://developers.facebook.com/docs/ref ... /comments/
There is writen: "How do I know when someone comments on my site? You can subscribe to the 'comment.create' and 'comment.remove' events through FB.Event.subscribe."
nad link
http://developers.facebook.com/docs/ref ... subscribe/
But I have no idea what to do with:
Subscribe to a given event name, invoking your callback function whenever the event is fired.
For example, suppose you want to get notified whenever the session changes:
FB.Event.subscribe('auth.sessionChange', function(response) {
// do something with response.session
});
Global Events:
auth.login -- fired when the user logs in
auth.logout -- fired when the user logs out
auth.sessionChange -- fired when the session changes
auth.statusChange -- fired when the status changes
xfbml.render -- fired when a call to FB.XFBML.parse() completes
edge.create -- fired when the user likes something (fb:like)
edge.remove -- fired when the user unlikes something (fb:like)
comment.create -- fired when the user adds a comment (fb:comments)
comment.remove -- fired when the user removes a comment (fb:comments)
fb.log -- fired on log message
Have you any idea?