Well, I simply possess a pretty straight question: How do you display recent comments from Facebook Comments social wordpress plugin on my small website?

I've integrated the facebook comments social wordpress plugin on my small wordpress blog and Among the finest to place a widget on my small sidebar that shows the current comments in the social wordpress plugin.

Thanks!

The social wordpress plugin has some methods to alter its layout, but these allows the consumer to create a brand new comment. One method to get just the comments is as simple as FQL.

For doing things, range from the facebook all.js in your code (I suppose it is, once you are while using social wordpress plugin) and perform the following:

First produce a div with class 'comments':

<div class="comments"></div>

Then, perform the following in javascript

FB.api(
    {
    method: 'fql.query',
    query: 'select text from comment where object_id in (select comments_fbid from link_stat where url ="http://developers.facebook.com/docs/reference/fql/comment/")'
    },
    function(response) {

        $.each(response, function(i, e) {
            $(".comments").append("<div class='comment'>"+e.text+"</div>");
        });         

    }
);

In case your div includes a class that's not comments, just replace $(".comments") with $(".your-class"). This code can create several elements with class comment within your comments element.

I am using jQuery to iterate your comments ought to.

Hope it will help!