× Joomla Facebook Connect support forum

Topic-icon JFBConnect Status (updated 11/7/2009)

Support Specialist
15 years 2 months ago #112 by alzander
Do not post bugs/issues/problems to this post. It is not monitored as it's almost impossible to track bug status here. Please search for an already posted bug, or create a new post.

JFBConnect
The JFBConnect component allows for integration between Joomla and Facebook connect. Features such as Joomla user creation using Facebook profile information, automatic login to Joomla if already logged into Facebook, and single-logout functionality for both are included. Also, if you have the popular community components JomSocial or Community Builder, it can automatically import a new user's profile and avatar data directly into their profile on your site!

This component also provides the framework and API infrastructure for additional modules to be used in conjunction with your site to add Facebook connect features (such as invitations, walls, status, profiles, etc).

Current Version
JFBConnect v2.5.0

Requirements
Joomla 1.5.x, PHP5+, cURL extensions (included and enabled on most servers)

Installation
Please use the installation guide on the JFBConnect home page:
JFBConnect Installation Guide

Upgrading from a previous 2.0 Release
Uninstall the JFBConnect component using the Extensions->Install/Uninstall feature.
Follow the directions above (Installation)
- All configuration settings will remain when remain intact inside the component. However, the Login module parameters will need to be re-configured again.

Facebook Login Flow
There are multiple events that can happen when a Facebook user logs into your site, depending on if this is their first login or not, and whether they already have a Joomla account.

First time logging in through Facebook. Not logged into Joomla. The following are set in the Configuration tab:
Create them a new Joomla user account:
- This will create a Joomla user in the system which can be used to return to the site without requiring logging into Facebook
- Some Facebook modules will still require that the user be connected to Facebook to operate

Don't create Joomla account, but allow Facebook log-in:
- This creates a pseudo-Joomla account, similar to OpenID or Gmail log in. There is no password associated with the account, so this user much use their Facebook credentials to log-in on return to the site.

Recommendation:
Facebook does not allow for an application to see a user's email address. It is recommended to use the redirection url to send the new user to their profile page to ask them to set them email address. Also, for case #1 above, they can use their profile page to set their Joomla password, in case they'd like to use that to log in in the future.

Returning Facebook user
They will automatically be logged back into their Joomla account created above

Facebook user logging in who is already logged into Joomla
The Facebook and Joomla accounts will be connected. From this point forward, if the user logs in using their Facebook credentials, they will automatically be logged into their accompanying Joomla account.

Revision History
Please see the Changelog at JFBConnect.com
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #115 by eldad
Hey, looks like a lot of great work done :))

I have a problem with the option to enable unregistered users to log into my site using their fb account, I keep getting to this page "www.reelstage.net/rshome/index.php?optio...PWFydGljbGUmaWQ9ODM=" when i click on "connect". a blank page with a "Logging in FB User" message in it...



Can u please tell me what's wrong there?
I am really looking forward to see it all in action,

Keep up the good work,
l-dad
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #117 by ceshelman
Exact same happening here. I noticed that a new user is getting created everytime I try to login but it is not logging me in and the usermap table is still empty. It does not appear to be mapping my user if I am logged in either. But if I login using my Joomla acct, the login module shows as though I am logged in via fb and shows my fb pic.
The topic has been locked.
Support Specialist
15 years 2 months ago #118 by alzander
We're looking into this and will try to have a release candidate 2 version out shortly. The thing in common, it seems, is that these sites are being run out of a sub-directory (<!-- m --><a class="postlink" href="www.blah.com/subdir">www.blah.com/subdir), and that may be where the problem is. If you can share you configuration settings (mainly Create new user: yes/no), that can help for testing so I know I hit your case with a fix.
The topic has been locked.
Support Specialist
15 years 2 months ago #119 by alzander
The problem is being caused because user activation is turned on. Currently, JFBConnect uses the built in Joomla user creation functionality. This will be changed on the next release to have JFBC create the user, regardless of activation settings. To fix, for now, turn of user activation. This obviously will prevent checking of any users email, so if that's not desired, disable the component for now.

There will be no way to perform user activation on a Facebook user since FB does not allow an application to retrieve a user's email address (for many obvious reasons). That is the purpose of the redirect on Facebook new user creation url, so you can politely ask the user to put in their correct address. The next RC will simply not perform activation on FB users, but will not disturb it if it's on for new users signing up through Joomla.
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #121 by ceshelman
Thanks for the quick reply on this subject!

I did as sugested and turned off user authentication. This did change the result, now I get

Forbidden access
(Flooding)

Is this because I have tried so many times with the authentication turned on?

THanks, Carl.
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #122 by eldad
Same here dude...

configs:

Enable Web Services Yes

Allow User Registration No

New User Account Activation No
Front-end User Parameters Show

Thanks,
l-dad
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #123 by geoff.w.brown
Hi is this module compatible with Community Builder and AEC ?

Thanks for your help
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #130 by ceshelman
After a bit of troubleshooting, there appears to be an issue with FireFox and how the redirects are handled when sh404SEF. If sh404SEF is configured to skip JFBConnect, and the redirecto after new user creation is set to a non sef URL then it works fine in IE7. However to get FireFox to work sh404SEF must be completely disabled or the redirect returns a 500 error.

Hope this info is useful.

Thanks, Carl.
The topic has been locked.
Support Specialist
15 years 2 months ago #131 by alzander
geoff:
I've not tested JFBConnect with AEC or Community Builder. It does create 'normal' Joomla users, which AEC / CB should recognize, but I'm not going to make any guarantees on this. Once 2.0 Stable is out, we'll be trying to test with more community components and ensuring integration where appropriate. For now, I'd hold off unless you want to test & report. We will try to work on any integration bugs as they're reported.

ceshelman:
Thanks for helping to narrow it down. Not sure how FF would be affected, but not IE. RC2 was just released, but has nothing related to these problems.

Are you putting an SEF address in the URL box or a non-SEF one (ex. index.php?option=com_user&view=user&layout=form)? The non-SEF may work better...?
The topic has been locked.