Support » Plugin: Facebook » facebook comment numbers are accurate? since 1.1.5 update

Viewing 6 replies - 1 through 6 (of 6 total)
  • I also noticed that when i deactivate the plug in the numbers go back to being correct?

    Plugin Author Niall Kennedy

    (@niallkennedy)

    Which theme and which version of WordPress is displaying this number? Can you please link to a URL where the behavior can be seen?

    I’m using the unspoken theme from wpshower.com. My URL is http://www.dfragg.com

    Thanks

    Hey Niall thanks for reaching out here is the link

    システムエンジニアを漫画で学ぶ

    you can see from the home page/posts and also side bar popular post show the comment count # as 4294967295 Comments

    Also some of my pages show the error that the link is unreachable
    http://www.dfragg.com/2012/12/httphypebeast-com201211spruce-up-your-mac-keyboard-with-lazerwood-keys/

    Thanks for taking the time to look into this matter/

    Plugin Author Niall Kennedy

    (@niallkennedy)

    The Unspoken theme or customization is displaying a comment count equal to the largest value of an unsigned 32-bit integer when outputting get_comments_number() to the page.

    The Facebook plugin does not have a meaningful comment count to output with the page; if you replace the WordPress comments system with the Facebook Comments Box then posts will always return a comments count of 0. The Facebook Comments Box comments are stored on Facebook servers and rendered using JavaScript when the page is loaded. If the theme outputs the comments count number directly then it will always be incorrect.

    If a theme outputs a comments number using the comments_number() function then the Facebook plugin has an opportunity to replace text output to the page. The plugin adds an element interpreted by the Facebook JavaScript SDK at runtime with the number of public comments for the given post.

    If your theme setup allows easy customization of the theme’s .post-meta component you may be able to swap out code: printf( '%u Comments', get_comments_number() ) becomes comments_number(). Other options: the comments count piece of .post-meta could be removed entirely through the theme or the comments number could always return 0.

    Thanks Niall for your response. I will look into finding out how to implement the changes you explained. Interesting thing is when i downgrade the facebook plugin to version 1.0.2 it works fine with the correct comment. You can check now on my site its up, but I’d like to have the latest version of the plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘facebook comment numbers are accurate? since 1.1.5 update’ is closed to new replies.