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
Comment | File | Size | Author |
---|---|---|---|
#6 | update_fb_script-1350732.patch | 779 bytes | justindodge |
Comments
Comment #1
andriy_gerasika CreditAttribution: andriy_gerasika commentedComment #2
cj-a-min CreditAttribution: cj-a-min commentedSame 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.
..
Comment #3
cj-a-min CreditAttribution: cj-a-min commentedI 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:
thanks for this great module..
Comment #4
joel_guesclin CreditAttribution: joel_guesclin commentedIs Facebook Connect compatible with Facebook for Drupal? Because I also want to be able to use Facebook Canvas pages which Facebook for Drupal provides.
Comment #5
justindodge CreditAttribution: justindodge commentedSame issue with 7.x-1.x-dev
Comment #6
justindodge CreditAttribution: justindodge commentedSo 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.
Comment #7
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedpatch 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
Comment #8
xurizaemon#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.