Integration and modification of Facebook Comments plugin

Hi,
I have downloaded, installed and incorporated the Facebook Comments Plugin that comes with the great and simple X Theme. But now I’m curious if I can change a few things:

First of all, the Meta Comments link on blog posts is now dead - it doesn’t do anything at all. Can’t I change that, so it works with the facebook comment plugin system??

Second I’m wondering if you can include comments from the facebook comments app in the “Latest Comments widget” in the sidebar? Right now it shows nothing, despite having 3 comments already - that’s a bummer :confused:

And last - is it possible to “Auto-approve” comments within the plugin?

Thank you so much for helping me out.
My hair is falling out due to frustration :open_mouth:

Hi there,

  1. If you are on the blog listing page clicking on the comments meta will redirect you to the single page. But if you are on the single page the meta will not work. I suggest that you add the code below to X > Theme Options > JS:
  function ascrollto(theClass) {
    var etop = jQuery('.' + theClass).offset().top;
    jQuery('html, body').animate({
      scrollTop: etop
    }, 1000);
  }
  jQuery('.single .meta-comments').on('click', function(e) {
    e.stopImmediatePropagation();
    ascrollto('fb_ltr');
  });

The code above will smooth scroll the page to the comments section.

2, 3) Unfortunately both of them are not possible. The first one is not intended to have the Facebook comments retrieved, this needs a completely new widget which is not available. Also, the Auto-Approve feature is not possible as it is related to the Facebook settings and such an option is not available in the Facebook API which the plugin can use.

Hope I could be of a help.

Thank you Christopher,

It worked like a charm with the script :slight_smile:

Too bad with 2 and 3 - It would’ve been nice if it was possible.