Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Recent Facebook Comments on a sidebar WordPress


Hey Guys,

We have implemented facebook comments on our site and we need to show recent comments shown from across the site. Any help appreciated.

Answers (3)


Fahad Murtaza answers:

Which plugin specifically? as if it just ports the comments to the blog; a simple widget which shows the blog's global comments should suffice.

Nikolaos Vassos comments:

It's not plugin. We are using Facebook Social Plugin for Comments.

I know this is more of a facebook question but still, i can pay more than 30 dollars if anyone here has done it before.

Nikolaos Vassos comments:

It doesn't port the comments.

Fahad Murtaza comments:

Can you please show the current implementation.

Nikolaos Vassos comments:

go to Salon Profiles, click Top 20 salons, click on an image

you will see facebook comments loading on each image. I just need to see if there is an FQL query to load ALL comments across the site.

I found this

SELECT post_fbid, fromid, object_id, text, time \
FROM comment \
WHERE object_id IN \
(SELECT comments_fbid \
FROM link_stat \
WHERE url ='')

but thats only for 1 specific url....

Fahad Murtaza comments:

Here is what you need. This one supports latest comments.

Let me know if it helps.

It allows your visitors to comment on posts using their Facebook profile (you are already doing it). Supports custom styles, notifications, combined comment counts, recent comments (what you are after)

Nikolaos Vassos comments:

Tried it, but it doesn't load the comments on the widget.

Nikolaos Vassos comments:

The Activity Feed plugin displays the most interesting recent activity taking place on your site. Since the content is hosted by Facebook, the plugin can display personalized content whether or not the user has logged into your site. The activity feed displays stories when users interact with content on your site, such as like, watch, read, play or any custom action. <strong>Activity is also displayed when users share content from your site in Facebook or if they comment on a page on your site in the Comments box.</strong> If a user is logged into Facebook, the plugin will be personalized to highlight content from their friends. If the user is logged out, the activity feed will show recommendations from across your site, and give the user the option to log in to Facebook.

Thats taken from Facebook site.... but it doesnt work

Fahad Murtaza comments:

Well, see if Romel Apuya can help you. He seems interested in getting this done for you. I would be glad to help but working on some assignment right now.


Romel Apuya answers:


I'd be glad to work on this.
sent you a PM.



ej_emman answers:

Hello NIkolaos,

maybe this helps,

<div id="fb-root"></div>
<script src=""></script>
<fb:comments xid="YOUR_XID" migrated="1"></fb:comments>