开发者

FB.Event.subscribe Event is unstable?

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 ..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜