I'd like to add the "Login with Facebook" button to my websites.
But I've seen there are two modules which can do that: "Drupal for Facebook" and "Facebook Connect".

Which one should I use? Do you know any tutorial about them?

I've already created the app on http://apps.facebook.com/, I just need some little help to make things work.

Thanks in advance for any help.

Giovanni

Comments

Adam S’s picture

I have been doing some research into this too. The facebook connect module the last time I checked is not being maintained and facebook is changing its connect api. This module which is in beta looks very promising. It's the gigya module. http://drupal.org/project/gigya

Antinoo’s picture

Yet another FB-auth module, haha! :-)
I'll give it a try as soon as possible, it really sounds promising.

In the meanwhile, I succedeed to make the Facebook Connect module work, and it's just working fine.
I'll try also the Drupal for Facebook module because I appreciate the mantainer, Dave Cohen.

Thank you.
Giovanni

Dave Cohen’s picture

If you choose Drupal for Facebook, read the README.txt that comes with the modules and find the documentation on drupal.org: http://drupal.org/node/195035

The Facebook APIs support multiple kinds of Apps. Before Facebook Connect there was something called Canvas Pages. Drupal for Facebook supports both of these. There are other parts of the Facebook API which apply to both kinds of apps, for example posting to Walls, prompting for extended permissions, ... the list goes on an on. Drupal for Facebook aims to support these features, in addition to the "Login with Facebook" button.

Drupal for Facebook also supports multiple applications hosted by a single drupal server. So a single drupal might be the backend for three canvas page apps, as well as allowing users to log in via Facebook Connect.

These features mean setting up Drupal for Facebook may be trickier. It's more difficult to install than many Drupal modules. That's why it's important to read the README.txt if you plan to use it.

justaleaf’s picture

I really like the look of Drupal for Facebook. If you don't mind though, would you say that this module is suitable for a social networking site that wants to integrate with facebook?

I don't really want to present my site as a facebook application, but it would be awesome if I could get certain user action to post to their Facebook wall.

Dave Cohen’s picture

Yeah, if I understand you, you're looking for a feature called "Facebook Connect". Don't be put off by the term "application". That applies to external sites that connect via Facebook Connect, and also the original canvas page type apps.

Again Drupal for Facebook support Facebook Connect. Not be confused with the drupal module called "Facebook Connect". They both support some of the same features. You don't need the "Facebook Connect" module if you have "Drupal for Facebook".

justaleaf’s picture

That's wonderful. Your module is perfect for my needs then!