Topic-icon JFBConnect not automatically logging in anymore

Active Subscriptions:

None
6 years 5 months ago - 6 years 4 months ago #63050 by adralt
We have a development site that we just updated to the latest version of Joomla, Jomsocial and JFBConnect. When browing to the home page, when logged on Facebook, it doesn't recognize the user automatically anymore and the error message we receive from Facebook is the following:

Invalid Scopes: user_groups. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: developers.facebook.com/docs/facebook-login/permissions

Thanks for any help.
Last edit: 6 years 4 months ago by adralt.
The topic has been locked.
Support Specialist
6 years 5 months ago #63051 by mel
User_groups is not available as a permission anymore from Facebook. I just searched our code and we're actually no longer requesting it. JFBConnect now requests the correct "user_managed_groups" permission. Please check your JFBConnect backend > Configuration > Facebook area to see if you've added that to the setting for additional permission requests. If it's there, please remove it. If it's not set there, have you upgraded to the latest version of JFBConnect?

-Melissa
The topic has been locked.
Active Subscriptions:

None
6 years 5 months ago #63056 by adralt
Our JFBConnect version is 7.2.2. In the backend at the Configuration/Facebook page in the box of the permission requests we just have "publish_actions" set.
We had problems in the automatic login with one user and everything went fine with another user. We can't figure out why.

Plus, JFBConnect is not automatically getting the new profile and cover photo from Facebook each time they are changed? Or are they just taken once at the first login?
The topic has been locked.
Support Specialist
6 years 5 months ago #63063 by mel

Our JFBConnect version is 7.2.2. In the backend at the Configuration/Facebook page in the box of the permission requests we just have "publish_actions" set. We had problems in the automatic login with one user and everything went fine with another user. We can't figure out why.

Do you have any channels set up in the JFBConnect > Channels area? If so, perhaps open them to edit, and hit save again, make sure there are no warnings/errors and then attempt to visit the homepage again to log in. I could see that error message occurring if the user was the channel owner. Looking at the source of the page, I do not see the user_groups scope. It's "jfbc.login.scope='email,user_birthday,user_hometown,user_website,publish_actions';"

Plus, JFBConnect is not automatically getting the new profile and cover photo from Facebook each time they are changed? Or are they just taken once at the first login?

This depends on how you've configured the JFBConnect > Profiles area for your third-party profile extension. If you have "Always Import Profile Data" set to No, the import will only occur on the registration. You'll need to switch it to Yes to happen on every subsequent login.

-Melissa
The topic has been locked.