I just read about Facebook's social plugins (http://developers.facebook.com/plugins). Would this be something to be added to this suite of modules? Or should it rather be a seperate module?

I'm thinking it may be useful as a seperate module (called social_plugins?) with an easy configuration, to allow people to quickly add Facebook functionality to their site, while the fb suite requires more configuration, to have your site as a FB app. What do you think?

Comments

brunodbo’s picture

nirad’s picture

Issue tags: +facebook connect, +Drupal for Facebook, +facebook

I think it's great that Facebook has made their APIs much easier to use and created these ready-to-use plugins. But I wonder where creating a new project leaves the already fractured world of Facebook Drupal modules. We already have Drupal for Facebook, two competing Facebook Connect projects (1, 2), and Facebook Share. I realize that not all these modules do the same thing, but I think it would be much better to have a single Facebook project for Drupal that allows site admins to choose which components they want to use.

Dave Cohen’s picture

I believe these plugins will be of interest to many drupal sites. They offer a simpler alternative to facebook connect. I'm planning to support them in Drupal for Facebook. I'm also planning to continue supporting facebook connect and canvas pages.

I wrote about this a little bit here: http://www.drupalforfacebook.org/node/1976

I imagine a suite a modules where enabling just one (or two) is enough to enable the social plugins. While enabling additional modules will enable Facebook Connect, etc...

brunodbo’s picture

Status: Active » Fixed
Issue tags: -facebook connect, -Drupal for Facebook, -facebook

Sounds good to me, thanks for the info. I was thinking it would be simpler to understand for people if these modules were seperated (as in different projects) by functionality (FB connect vs social plugins), but keeping the social plugins in the DFFB suite should work either way, of course.

Marking as fixed since the initial question has been answered.

Dave Cohen’s picture

Status: Fixed » Active

Let's consider this a todo item. So others can subscribe. Will resolve when the code is checked in.

Dave Cohen’s picture

Title: Facebook social plugins: to add or not to add? » Facebook Social support in Drupal for Facebook
beauz’s picture

subscribing

jinky32’s picture

subscribing

Dave Cohen’s picture

I've been working on this, but its not going as quickly as I'd like. The new facebook client libraries simply dropped support for several things the old one could do. Like gettting and setting app properties.

So while it's not too hard to introduce facebook social support to Drupal, it is hard to continue supporting facebook connect and canvas pages.

But stay tuned. I'll check something in as soon as it works.

mikeprinsloo’s picture

subscribing

jaypark’s picture

+1

klamzo’s picture

+1

cientista’s picture

+ 1 also (i think... How do I subscribe?)

for me the most important issue is plugging into the 'social graph' and getting users email and birthday details

Dave Cohen’s picture

As of right now, the CVS HEAD is for development with the newer facebook libs. It mostly works, but I'm there are plenty of issues to sort out.

The DRUPAL-6--2 branch is for development with the older libs.

On the project page, I can't find any way to mark HEAD as a 3.x release! Does anyone know how to do this??? Until I sort that out, you may see two downloads labeled 6.x-2.x-dev. One of them is really 3.x!

Mixologic’s picture

There are two 2.x downloads, but unfortunately they *both* download the 2.x branch, even though one says its 80kb.

I just updated the documentation page (installation and setup http://drupal.org/node/205476) to reflect the 2.x branch dependency on the older facebook 'platform' libraries, and the 3.x branches dependency on the 'php sdk' libraries.. (I hope thats correct as I havent been able to get my hands on the 3.x branch)

Dave Cohen’s picture

I think drupal.org link will get you whichever was built more recently. Its a silly problem. I have an issue to infrastructure asking for help.

Until then, a CVS checkout may be the only way.

I'm cleaning some things up, trying to catch all the places where older APIs are called. Either updating those places or marking the modules as not ready for 3.x. So I'll be checking in changes pretty frequently for some days...

Dave Cohen’s picture

update... problems on project page fixed. Now the 3.x dev release is properly labelled.

http://drupalforfacebook.org is now running off 3.x. You'll see some Like buttons, indicating the new Facebook Social features are present, if not used very much (yet).

I don't find facebook's new libraries to be reliable. So anyone using the 3.x version, know that you're on the bleeding edge.

Anyone wishing to help, please visit http://drupalforfacebook.org and http://apps.facebook.com/drupalforfacebook. Let me know if you find any bugs there. And if you're a developer or admin, download the 3.x branch and see how it works for you. Thanks.

Mixologic’s picture

Dave, I just took your drupal for facebook tour and I gotta say. Best. Drupal. Documentation. Ever.
I look forward to digging into the guts of the bits n nits.

I have also heard that the new sdk has got a lot of issues with it, but hey.. they gave us xhprof, so Im not gonna complain.

Where would be an appropriate locale (other than an issue queue) to maybe document further issues you might be seeing with it? I'd hate to fire up 3.x, dig into a problem only to find out "oh yeah. thats just fb's sdk.. nothing we can do about it." Or is the issue queue the best place?

Dave Cohen’s picture

Well there's loads of issues with facebook's libs and always has been. ;)

To tell you the truth I don't know the "best" place to learn about their issues. Their dev community is not as well organized as Drupal's. Facebook doesn't help by having multiple issue queues:

http://bugs.developers.facebook.com/
http://github.com/facebook/php-sdk/issues
http://github.com/facebook/connect-js/issues

I can't tell you which is best to pay attention to. In my experience the issue are aged like fine wines, for months, before being acted upon.

There's also a forum:
http://forum.developers.facebook.com/

vishalsood’s picture

subscribing

parzoe’s picture

our project will make a good test... Full beta site, just testing.

Upgrading to 3x in drupal 6.16... Is v7 of drupal ready?

parzoe’s picture

Failed to set the following properties for facebookofh application. You may need to manually editing remote settings!
Array
(
    [uninstall_url] => http://beta.onefasthorse.com/fb_app/event/post_remove
    [authorize_url] => http://beta.onefasthorse.com/fb_app/event/post_authorize
    [callback_url] => http://beta.onefasthorse.com/
    [connect_url] => http://beta.onefasthorse.com/
)
Failed to set application properties on Facebook: This method requires an HTTPS connection 8

I now have the above error when saving application. I read this is a known issue... Setting values uninstall and authorize _url... Which fields exactly should correspond in app settings?

BenK’s picture

Subscribing...

Carlos Miranda Levy’s picture

There is a separate entry and issue for comment #22.
Let's try to keep the issue queue clean.
Go here for that issue:
http://drupal.org/node/803614

Carlos Miranda Levy’s picture

This issue here is also addressed and answered with an example at:
Open graph and I Like - http://drupal.org/node/804112

parzoe’s picture

Thank you... We trashed that install and started over. Should we begin again with V3 or 2?

stieglitz’s picture

subscribing

happydrupal’s picture

subscribing

Shadlington’s picture

subscribing

g.k’s picture

subscribing

Dave Cohen’s picture

Status: Active » Fixed

http://drupal.org/node/933670

haven't updated this thread in a while, but now there's been documentation for a while. Feel free to submit enhancement requests if there's something the module should support but doesn't.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

sixrock6’s picture

how can I change the like button text "like" to "curtir"?

does anyone can help me?