Topic-icon Facebook Signups - FB App not Authorised

Active Subscriptions:

None
9 years 2 months ago - 9 years 2 months ago #51846 by davpar
Hi.
I have noticed that suddenly, users signing up to my website using Facebook no longer have a tick in the "FB App Auth" field.
This change seems to have happened after I was advised to change the registration flow from the built in JFBC registration flow to the EasySocial registration flow. This was because JFBC doesn't support enforcing the Permalink field which I need.
Since then, as you'll see, the previously mention Auth field seems to be missing. I've also noticed, and this is obviously related, but when a new user signs up using FB, they no longer get the pop-up box asking a user for their permission to connect their FB account.
You'll also notice from the attached image, that the FB logo is also missing.
Can you explain what's going on here?
Thanks
File Attachment:
Last edit: 9 years 2 months ago by davpar.
The topic has been locked.
Support Specialist
9 years 2 months ago #51852 by alzander
Something seems wrong there altogether.

The tick only applies when the user linked their account to Facebook. From the above though, it seems like the user may not be properly linked to *any* social network, not just Facebook. There is no image in the Social Network column, which there should be.

Are you sure all the users registered via Facebook? Are they able to login using their Facebook credentials? If you have access to your database, can you look at the #__jfbconnect_user_map table and let me know what the 'provider' column is for those users?

Those questions will help us narrow down what may be going wrong.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 2 months ago #51872 by davpar
Hi.
I've attached a spreadsheet - there is definitely something weird going on it seems. Perhaps you can gleam some info from the attached.
I've included the last record that "worked" followed by the remaining rows where it seems it no longer is working.
Dave
cxvoz-jfbconnect-user-map.ods
The topic has been locked.
Support Specialist
9 years 2 months ago #51879 by alzander
Thanks for sending that. The problem is that the provider names are being capitalized, and that's a bug in JFBConnect. To fix, you can edit the /plugins/user/jfbconnectuser/jfbconnectuser.php file. Around line 42, you'll see:
JFBCFactory::usermap()->map($user['id'], $providerUserId, $provider->name, $provider->client->getToken());
Update that to:
JFBCFactory::usermap()->map($user['id'], $providerUserId, $provider->systemName, $provider->client->getToken());
I don't believe there will be any functional issues from this bug other than the display about the user in the admin area. Of course, if you're running into actual functional issues, just let us know.

This change has already been checked in to our 6.3 release.

Thanks,
Alex
The topic has been locked.