Before I begin, I realise this is going to sound like a massive moan, but I really just need some guidance...
I've just created a clean D7 install to test FB Connect, and not only can I not get it working, I can't decipher the README instructions at all.
If I could get the module to work in D7, I'd happily provide some more verbose documentation, but from what I can tell, the README doesn't seem to apply to the current state of things, am I wrong? Here's what I've done (having already created a Facebook Developer application):
- Gone to http://github.com/facebook/php-sdk/ and navigated to the src directory and taken a copy of facebook.php. Is that even right? I have no idea.
- I'm using the Libraries API, so I've created a directory /sites/all/libraries/facebook-php-sdk and uploaded facebook.php into there
- Installed Facebook Connect 7.x-2.x-dev from March 17th and enabled it
- Ignored the error about the email field change
- Go to the Status Report and it shows the Facebook PHP sdk is not installed
- Go to admin/config/fbconnect and enter the Application ID, the Application Secret and save configuration
In the README, step 5 says "Enter the Connect URL on Connect settings tab (e.g. copy value from admin/settings/fbconnect field “Connect urlâ€)."
The configuration saves, but the "Connect url" field doesn't appear to exist. It shows the label and the help text for the field, but no field. Nevertheless, if I did have a value, I can't find the "Connection settings tab" which I presume is in my Facebook app settings? I've been all through it and can't find it.
The next step, 6 says "Add your server to the Server Whitelist on Advanced settings tab on Facebook or disable Session Secret Whitelist Exception." - again, there's no "Advanced settings tab" or Server Whitelist mentioned.
When I Edit Settings in the Facebook app, the tabs (down the left) are:
About
Web Site
Facebook Integration
Mobile and Devices
Credits
Advanced
As you might tell, I'm not a developer, but I expected to be able to get the module working. Maybe the module isn't ready - maybe the documentation is wildly outdated - but I can't get even the first part to work, let alone configured and set up correctly.
What I suppose I'm asking is;
- Can somebody who has (or knows how to get) this working for D7 please provide an 'idiots guide' step-by-step walkthrough for all the aspects of installation and configuration
- If I can get this working, does anybody object to me updating the documentation, because I don't feel it's adequate?
Thanks!
Comments
Comment #1
Danzki commentedread the readme file in the module folder. The readme on the module page is out of date.
Comment #2
Anonymous (not verified) commentedThe README in the module folder has serious mistakes,
like
......D7 theme's don't have a
<html>tag in page.tpl.php........Step 7
Also not needed for D7....
Comment #3
Anonymous (not verified) commentedThis is ridiculous. The requirements in the README.txt file for the 7.x dev module say 6.x:
Clearly some work needs to be done here. I followed the directions as best as I could, and it froze my site up with an error:
Fatal error: Call to undefined method Facebook::getSession() in /[path]/public_html/sites/all/modules/fbconnect/fbconnect.module on line 400I'd really love to get this working. Please fix these errors.
Comment #4
getamit commentedHi Curtis this problem also comes to my setup also, in order to remove it I replace my fbconnent-php-sdk 3.x version to 2.x version becoz in 3.x version getSession() is not defined, try this it should work for you too.
Comment #5
jcisio commentedThose bugs are either fixed or no longer relevant.