I've installed the module as per the readme - I had some problems initially but this solution fixed them: http://drupal.org/node/1163054#comment-5239334
This is what I'm doing:
1) I click the "Connect" button on my login page
2) if I am not logged into FB already a FB popup appears asking for FB login details
3) I log into FB
4) nothing happens on my site - if I go to FB in a separate tab I am logged into FB, but I am not logged into my site
5) there is no sign of a new user in /admin/user/user
If in step 2 I am already logged into FB, nothing happens at all and I'm still not logged into my site.
I have tried this in both Firefox and IE with the same results.
Comments
Comment #1
repto commentedSame problem. Any one can help? How do i solve this?
Comment #2
mdowsett commentedsame problem
Comment #3
mdowsett commentedI think Safari doesn't work with it....I just switched to Firefox and it worked flawlessly.
Can others test it?
What can be done to get Safari working?
Comment #4
thoughtcat commentedI've used Firefox from the start and it didn't work. Same with IE. Not tried Safari.
Comment #5
honza.havelka commentedIt's because of this: "As of December 13th, 2011, the JavaScript SDK now only supports OAuth 2.0 for authentication." (http://developers.facebook.com/docs/reference/javascript/)
The solution for me was following:
I hope it will be useful for you.
Comment #6
mdowsett commentedI already had the fbconnect.module fix in place but I now used your .js fix and now it doesn't work on Firefox either.
I reverted back to the other .js file and it doesn't work (even after clearing cookies, etc) ...so now I'm not sure where to go. It worked once...FF gave me the option to create a new Drupal account or link my FB account to an existing Drupal account and it then created a new Drupal user. Now...no go.
I may have to give up on it.
Comment #7
betovargThis did the trick for me. Are you sure you replaced the correct function in the module?
Comment #8
betovargThanx!!! Are you submitting this fix to the module? it is a must
Comment #9
mdowsett commented...yeah...I'm certain. I took a few days off from trying to fix this and tried again.
No go.
Comment #10
justinmahon commentedThis worked great for me, thanks for the update! @mdowsett I recommend clearing your site cache. My change would not kick in until I did this. Hopefully that works for you as well.
Comment #11
rich.3po commentedThe fix in #5 worked for me - massive thank you to #honza.havelka
This needs to be rolled into the module asap, otherwise everyone will be getting this problem. Bumping up to critical
Comment #12
thoughtcat commentedThis is still not working for me unfortunately.
I followed honza.havelka's instructions in point 5 and have updated his files in the /sites/all/modules/fbconnect folder.
I went to https://developers.facebook.com/docs/reference/php/ and followed the instructions there for downloading php-sdk from https://github.com/facebook/php-sdk/downloads
I have tried uploading the three files from the /src folder to /sites/all/modules/fbconnect and also tried creating a folder within /fbconnect called php-sdk with those files in it. Doing the latter removed the "Connect with Facebook" button from my Drupal login page.
I am still getting the same results that I originally got, in any browser, and after clearing the Drupal cache and my local browser cache.
Please let me know if I'm doing something wrong.
Comment #13
ChrisConolly commentedThoughtcat:
Ok remove the module you have completly, and delete all the files.
Download the latest version from the main project page, and then apply the fixes mentioned in post #5 (changing code in the module file and replacing the .js file)
Download the latest facebook php-sdk from https://github.com/facebook/php-sdk
Here the readme.txt says create a folder called facebook-php-sdk and put the files in there, however I just put the whole lot straight into my fbconnect folder. Maybe try the readme's way and then try mine.
That fixed everything for me. Good luck with yours
Comment #14
snaushads commentedThanks for the steps,
Worked when i DID NOT replace the fbconnect.js file.
Checked on Opera, FF 10
Comment #15
thoughtcat commentedStill not working for me I'm afraid. I've tried everything you guys have said. I've even tried the most recent development version (released today) both as it is and with the php-sdk and with the repaired files (in the latter case it broke my site) and nothing works.
Sorry, giving up - client getting fed up of being charged with nothing to show for it :-(
Comment #16
fringedgentian commentedThank you honza.havelka, your posted solution (#5) worked for me also.