Topic-icon How do existing JomSocial users connect their FB accounts?

Active Subscriptions:

None
I feel like this should be super simple but I followed the guides here and on JomSocial's site with no luck...maybe I missed a step somewhere. We have a bunch of existing JomSocial users and have installed JFBConnect so that they can connect their JS accounts to their FB accounts. However, when I log in with one of these accounts and go to the profile/settings pages of JomSocial, I don't see anywhere that would let the user connect to Facebook. What am I missing?
The topic has been locked.
Support Specialist
There's quite a few different ways that existing users can add a social network to their account:
* Enable "Automatically link users by email" in the JFBConnect -> Configuration settings. When set, if a user authenticates with a social network and their email address on that network matches the account of an existing Joomla user, the accounts will be automatically linked together.
* If a user logs in with their Joomla account, the SCLogin module can be configured to show "Connect Account" buttons, like you can see in the "My Account" menu above (which is from SCLogin).
* Create a new JFBConnect -> Account menu item where a user can manage the social network connections they've made.

Beyond that, you can add our 'Connect Account' links anywhere using our EasyTag, like {JFBCLogin show_reconnect=true}. If you add that to your JomSocial user area, or any other place, the social networks that the user *hasn't* connected with already will show to allow them to do so.

I hope that helps, but if you need anything else, just let us know.

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

None
Thank you, that was perfect info! Now it's working for me when a user posts a status update on JomSocial, it shows up on their Facebook page as well.

One more question, how does a user make it stop posting to Facebook if they change their mind?
The topic has been locked.
Support Specialist
They'd have to remove the permission for your application to post on their behalf. That's an option in Facebook.com in the Settings -> Apps area where a user can remove permissions that they've already granted.

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

None
Ahh that will be annoying that they can approve but not un-approve without leaving our site, but thank you for the explanation!
The topic has been locked.
Active Subscriptions:

None
Wait, now that I did that in Facebook, I went back to my JomSocial profile and it doesn't give me the option to re-connect again. Now what?
The topic has been locked.
Support Specialist
7 years 11 months ago #58282 by mel
When you say "it doesn't give me the option to re-connect again", do you mean that you weren't prompted for the posting permission again? You should be prompted to approve the posting permission again when you log in the next time with Facebook. Is this not happening after logging out of your site then logging in again via the Facebook login button? Did you make sure you logged out, then logged back in?

-Melissa
The topic has been locked.
Active Subscriptions:

None
We don't allow the option to login with Facebook. It is a private corporate site so we only want users logging in with the usernames we provide them. To connect their accounts to Facebook, I added a button via the EasyTag {JFBCLogin show_reconnect=true} after they log in. However, the button disappears after they click it once and never reappears, even if they remove their permissions via their Facebook settings.
The topic has been locked.
Support Specialist
Hmm.. that's a good question. We do set the De-Authorize Callback URL when you run Autotune. That let's Facebook notify JFBConnect that a user has disabled the app.

Can you go to the Usermap area of JFBConnect and check if the "FB App Authorized" column has a red-X next to it for the user that you removed the app for? If so, then we should be able to help with some code that will fix our reconnect buttons. If not, we'll need to understand why the De-Authorize Callback isn't working.

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

None
It has a green checkmark, not a red x.

The site is behind an .htaccess login for now (not launched yet) so I tried disabling that, deleting the user from the User Map section, re-connecting the user to Facebook, and then removing the app via the Facebook settings, but it didn't change the outcome.
The topic has been locked.