Facebook supports getting the number of comments on each url by using the following:
<fb:comments-count data-href="http://example-url.com"/></fb:comments-count>
The problem with this method is that it’s working on the user-side and thus the result cannot be stored into SQL.
I’m looking for a method which can run server-side, able to be executed by CRON.
This can be easily achieved with simple FQL query:
To get this with Graph API use: