I'm using Facebook Javascript SDK.
Using FB.Event.subscribe is unstable because sometimes it does not catch
though some events are t开发者_开发百科riggered.
Is there a way to catch those events without missing them?
In my case,
FB.Event.subscribe('comment.create', commentUp);
FB.Event.subscribe('comment.remove', commentDown);
comment events are not firing rarely.
The problem has solved!
My problem was that I have put
fbAsyncInit function and FB.Event.Subscribe inside of $(document).ready(function() });
It is solved since I have put those Very front of my javascript code.
FB.Event.Subscribe works flawlessly for me. Use firebug and see to it that there are no JS errors when comment is clicked ..
精彩评论