Facebook comments count incorrect

admin

Administrator
Staff member
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.

Code:
<fb:comments-count href=http://example.com/></fb:comments-count>

You can see an example <a href="http://www.civilbeat.com/2014/02/21257-gene-park-the-debate-over-race-history-and-racism-in-hawaii/" rel="nofollow noreferrer">here</a> 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 <a href="https://graph.facebook.com/?ids=htt...ebate-over-race-history-and-racism-in-hawaii/" rel="nofollow noreferrer">here</a> 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.

<a href="https://stackoverflow.com/questions...ount-not-working-on-my-wordpress-powered-blog">&lt;fb:comments-count&gt; not working on my WordPress powered blog</a>

Any ideas on what might be going wrong or another alternative for returning the correct comment count?