Dear All,

In my website, I need to display the facebook feeds. Such that when the user logged to our website they will be allowed to enter the user name and password of Facebook for once and then it should capture their feed and it must display in our website. Then afterwards at any time if the same user logged in to the drupal website the feeds should display automatically.

Is there a way to do it? please help me. Also is there a way to display the facebook feed in drupal website?

I tried with developers.facebook.com but it is not displaying the correct feeds as per the user login. Please help me with your suggestions

Comments

roger.ajith’s picture

Expecting your suggestions. Please help me

roger.ajith’s picture

But when I tried with the module it is not displaying the particular user feed. But it is only displaying some other feeds. Moreover we are not getting the permission to comment or to 'like' any feed.

Is there any other way?

spidersilk’s picture

I'm searching for the same (specifically, a way to create a block that would display the FB feed of the author of a node), and thus far it's been pretty frustrating. There are a lot of Facebook-related modules, but the only ones that do anything close to that appear to be dead. With regard to the ones listed above:

And to add some others I've looked at:

However, a link from that last one gave me an idea for a workaround - at the Likebox page on Facebook's site, you can generate a box with a feed from any FB page, so - at least if you're dealing with users who probably have pages rather than just individual accounts, which is the case for the site I'm working on at the moment - you can probably generate a per-user feed by adding a field for FB page URL to their profile and then creating a block using Views that inserts that field's content into custom text copied from the provided code, and adding the Javascript provided to your theme file. A bit clunkier than having a module that would do exactly that, but it should work, in theory. I guess I'll find out soon...

Anyway, I thought I'd share the above module list and that idea to save others from spending as much time checking out all those modules as I just did.

mcfilms’s picture

I am so glad I ran into this summary. Thank you for sharing this, I think it should be a Wiki page on Drupal somewhere. Your post led me to https://drupal.org/project/fb_likebox which seems to do what I need.

If you do succeed in getting per user FB feeds set up, I sure would be interested to hear about it.

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com

spidersilk’s picture

Yes, there are enough handbook pages comparing various modules of a similar type, maybe this should become one of them. I don't have time to do it up as a chart with more detail right now, but I'll try to get to it on the weekend.

I did manage to get the per-user (or per-node, really) Facebook feeds working, and while I got the idea for how I did it from fb_likebox, I didn't end up using a specialized module at all. The way I did it was specific to the setup of the site I'm working on, which has detailed profiles of various community organizations, and wanted each organization to be able to have a Facebook feed on their profile page (not user profiles in the Drupal sense - the organization profiles pages are just a custom node type).

What I did was follow the link on the fb_likebox page to https://developers.facebook.com/docs/reference/plugins/like-box/ and adapt the code snippets provided there. The part that was supposed to be placed after the opening body tag I just added to the page.tpl.php template in my theme (with a bit of PHP to have it display only on pages of that node type). Then I added a link field called Facebook Page to the content type used for the organization profiles, and created a view with a block display, using fields. The first field was Facebook Page, which was set to exclude from display (so that it could be used as a token in the next one), and the second was Global: custom text, in which I put the second code snippet from the Likebox page, and replaced the URL in the snippet with a token representing the Facebook Page field. I assigned the block to the sidebar on all organization profile pages.

That worked nicely to generate a Likebox for each organization of their own Facebook feed, without the need for any specialized modules, just basic ones like Views and Token. If you're trying to do it on user profile pages instead, or on nodes to display the Facebook feed of the author, you'd need to tweak the view settings a bit, but the same basic approach could probably work for you.

mfuggle’s picture

It would appear that Facebook have put an end to that and killed off posts in the last few days.

cycas’s picture

Just another big thank you for going to the trouble of documenting your search!

And Facebook, 'Likebox' ...? I would quite *like* to poke whoever thought up that name with a pointy stick, it is so NOT descriptive of the functionality!

But now I know! Thank you!