New Posts
  • Login:
+ Reply to Thread
Results 1 to 6 of 6
Like Tree3Likes
  • 1 Post By ih82lose
  • 1 Post By ih82lose
  • 1 Post By Michael Martinez

Thread: Facebook Commenting Plugin

  1. #1
    Senior Member
    My Status
     
    ----
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    US
    Posts
    1,377
    Blog Entries
    1
    Feedback Score
    23 (100%)

    Default Facebook Commenting Plugin

    I see that there are a few different plugins that allow users to comment with their FB accounts. Which do you guys and gals like best?

    While I'm at it, what is currently the best plugin for allowing readers to share your content via different social media outlets?
    Get a good Backlink from Best Of The Web for $399.95 lifetime Submit Now

  2. #2
    Senior Member
    My Status
     
    ----
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USA
    Posts
    506
    Blog Entries
    1
    Feedback Score
    46 (100%)

    Default

    I have never used a "plugin". I just put the facebook code in the template.
    https://developers.facebook.com/docs/plugins/comments/
    Same for social buttons.
    I try to use as few plugins as possible.
    Prenut likes this.


    Store Your Data in The Cloud and Access it Wherever You Are.
    Try Just Cloud Today for FREE

  3. #3
    Senior Member
    My Status
     
    ----
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    US
    Posts
    1,377
    Blog Entries
    1
    Feedback Score
    23 (100%)

    Default

    Thanks for that. I'm pretty dumb when it comes to this. Where should I add in this code so that it will enable it on all posts and pages? And is there an easy way to turn this off for specific pages? And would I need to turn off comments in wordpress backend so that there is no conflict?
    Get a good Backlink from Best Of The Web for $399.95 lifetime Submit Now

  4. #4
    Senior Member
    My Status
     
    ----
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USA
    Posts
    506
    Blog Entries
    1
    Feedback Score
    46 (100%)

    Default

    Quote Originally Posted by Prenut View Post
    Where should I add in this code so that it will enable it on all posts and pages?
    It would have to be in at least the single.php and page.php files, or if your template has a comments.php you could just use that file if you are not using WordPress comments.

    This part goes in header.php, right after <body> tag (will require "appId=XXXXXXXXX" be changed to include your app ID):
    Code:
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=XXXXXXXXX&version=v2.0";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>

    This part goes in single.php and page.php where you want to comments to show up:
    Code:
    <div class="fb-comments" data-href="<?php the_permalink(); ?>" data-numposts="5" data-colorscheme="light"></div>

    Quote Originally Posted by Prenut View Post
    And is there an easy way to turn this off for specific pages?
    I would use a PHP if statement to exclude posts/pages by ID, but I am not sure everyone would consider that easy.

    Quote Originally Posted by Prenut View Post
    And would I need to turn off comments in WordPress backend so that there is no conflict?
    You wouldn't have to. I personally don't use WordPress comments on any of my sites. They just fill with spam, not worth the hassle in my mind. But you could use both WordPress comments and Facebook comments on a site and it would work just fine.
    Prenut likes this.


    Store Your Data in The Cloud and Access it Wherever You Are.
    Try Just Cloud Today for FREE

  5. #5
    Senior Member
    My Status
     
    ----
     

    Add as a friend
    Join Date
    Jan 2009
    Location
    USA
    Posts
    1,658
    Blog Entries
    2
    Feedback Score
    1 (100%)

    Default

    Some Facebook plugins screw up search results for some pages. Whether you add the code manually or allow a plugin to do it, monitor your site search results for references to Facebook. If the page descriptions start talking about leaving a comment for Facebook or something like that, you'll have to fix or yank the code. It could take weeks before you notice the problem and it will take weeks or months for the search results to come back on their own (unless you force crawls through the Webmaster dashboards).
    Prenut likes this.
    Free advice and opinions are provided without any warranties or guarantees. I cannot do anything about the facts.

  6. #6
    Member
    My Status
     
    ----
     

    Add as a friend
    Join Date
    Jul 2018
    Location
    Manilla
    Posts
    22
    Feedback Score
    0

    Default

    I use disquss and it works amazing. Keeps the spammers literally away


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Powered by vBulletin® Version 4.1.5
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
SEO by vBSEO 3.6.0