回答

1

您可以使用標籤獲取計數:

FB:評論數

參見:Comments

修訂

FB.Event.subscribe('comment.create', function(response) 
{ 
    //comment is created 
}); 

FB.Event.subscribe('comment.remove', function(response) 
{ 
    //comment is removed 
}); 
+0

是的,我知道它,我可以數一次評論。但我想跟蹤添加/刪除評論。這就是爲什麼我詢問回調函數的原因。 –

+0

請問你今後有什麼問題,你做了什麼,你在找什麼。 :) –

+0

FB.Event.subscribe會對你有所幫助;使用comment.create /刪除 Ref:https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/ –