I've installed the Facebook API module, and tested it. I can successfully login using a Facebook ID (and it creates a Drupal user also which corresponds to the Facebook user). I'm testing all this on my local workstation, but for the moment works fine.
Then I installed OpenID Selector, and this also works successfully. I tried first just installing it for the default services and tested it with Google and Yahoo. Ok in both cases.
Next step, I activated the Facebook (Platform) module. The Facebook icon appears ok in the list, but when I click on it nothing happens (except that it appears highlighted in yellow). After reloading the page, it is still highlighted in yellow. I have checked the Firefox Error console, but am getting no errors.
Have I missed something in the setup?
Many thanks, JG

CommentFileSizeAuthor
#6 update_fb_script-1350732.patch779 bytesjustindodge
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andriy_gerasika’s picture

Status: Active » Needs work
cj-a-min’s picture

Same identical issue here.

I'm using Facebook for Drupal aka FB. I can log in using the facebook connect, but when I click on the facebook icon in OpenID selector nothing happens, except for the yellow highlight.

..

cj-a-min’s picture

I switched to Facebook Connect instead of Facebook for Drupal - seems like it is more inline with what I am trying to accomplish. Which is to simply to create a user if the user clicks on fb connect. -- The icon works great with Facebook Connect!

Per Facebook Connect Module:

This module roughly acts like the OpenId Drupal 6.x core module :
- It lets you use your Facebook ID and password to sign-in to your drupal site....

thanks for this great module..

joel_guesclin’s picture

Is Facebook Connect compatible with Facebook for Drupal? Because I also want to be able to use Facebook Canvas pages which Facebook for Drupal provides.

justindodge’s picture

Same issue with 7.x-1.x-dev

justindodge’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Category: support » bug
Status: Needs work » Needs review
FileSize
779 bytes

So I took a look at what was going on here:

The fb method works just by simulating a button click of the connect button, so it's important to know that you must allow the fb module to do its form alterations (provided by the module's settings), however the selector's code will hide the extra button so you don't see an extra/redundant one.

The problem is that the markup for the facebook button seems to have changed since this selector was written, so the behavior is no longer attaching.

I've rolled a patch against 7.x-1.x-dev that updates the openid_selector_fb.js file to use the appropriate classes and it works for me. I don't know anything about the d6 branch but I would imagine you could apply the same fix very easily, its only two lines.

SocialNicheGuru’s picture

patch does not affect the login block option.
I still see the drupal for facebook login button while the button for opeidselector does not work

it does work on the user page

xurizaemon’s picture

Status: Needs review » Closed (duplicate)

#1025038: facebook connect login broken and #1350732: OpenID Selector for Facebook (Platform) does not do anything. appear to be duplicates. The patches are very similar, but differ - possibly the cause that this patch doesn't work on the login block.

Thanks for the patch Justin - I'll copy your patch across to the earlier issue and compare the fixes there.