php - Facebook comments count incorrect -
we're using facebook comments on wordpress blog , comment count returned following tag not match actual number of comments on page.
<fb:comments-count href=http://example.com/></fb:comments-count>
you can see example here comment count returned 168 though there 2 comments on page.
the facebook graph api returns correct number of comments url seen here unfortunately using count returned graph api demonstrated in post below disallowed our host wpengine since php.ini setting allow_url_include must set off.
<fb:comments-count> not working on wordpress powered blog
any ideas on might going wrong or alternative returning correct comment count?
the example url mentioned http://www.civilbeat.com/2014/02/21257-gene-park-the-debate-over-race-history-and-racism-in-hawaii/
, whereas code 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 different url 1 of page - notice /posts/
part right after domain name, not in page url mentioned before. , if check second 1 via api, see indeed has comment count of 168.
Comments
Post a Comment