We're using Facebook comments on a Wordpress blog and the comment count returned by the following tag does not match the actual number of comments on the page.
<fb:comments-count href=http://example.com/></fb:comments-count>
You can see an example here where the comment count returned is 168 even though there are only 2 comments on the page.
The Facebook Graph API returns the correct number of comments for this url as seen here but unfortunately using the count returned by the Graph API as demonstrated in the SO Post below is disallowed by our host WPEngine since the php.ini setting for allow_url_include must be set to off.
<fb:comments-count> not working on my WordPress powered blog
Any ideas on what might be going wrong or another alternative for returning the correct comment count?
The example URL you mentioned is http://www.civilbeat.com/2014/02/21257-gene-park-the-debate-over-race-history-and-racism-in-hawaii/
, whereas your code for the like count points to
<fb:comments-count href='http://www.civilbeat.com/posts/2014/02/21/21257-gene-
park-the-debate-over-race-history-and-racism-in-hawaii/'>
That is a different URL than the one of the page - notice the extra /posts/
part right after the domain name, that is not in the page URL you mentioned before. And if you check the second one via API, you see that it indeed has a comment count of 168.