Tôi biết hai cách để lấy số bình luận trên Facebook:Cách nhận số lượng nhận xét trên Facebook với HTML5?
<fb:comments-count href=http://example.com/></fb:comments-count> awesome comments
và ...
<iframe src="http://www.facebook.com/plugins/comments.php?href=example.com&permalink=1" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:130px; height:16px;" allowTransparency="true"></iframe>
Nhưng không ai là một ngữ nghĩa cho giải pháp HTML5, là có bất kỳ thay thế?
cách duy nhất bạn có thể lấy dữ liệu từ facebook bằng cách, lấy dữ liệu từ facebook. bạn sẽ cần phải sử dụng một trong các API của họ để làm như vậy, cho dù đó là javascript, php, ruby, python, v.v ... – Connor
Cảm ơn Connor, nhưng fb: comments-count là một plugin. http://developers.facebook.com/docs/reference/plugins/comments/ –