× Joomla Facebook Connect support forum

Topic-icon Login With Facebook doesn't work out of the box

Active Subscriptions:

None
14 years 7 months ago #14968 by zacpen
I am pretty sure I have followed all the steps correctly, but it isn't working. The popup box appears, you allow the information to be accessed then the box goes away. Nothing however happens on the website. If you try to login again with facebook you can see the popup box appear but then it goes away without asking anything.

I am using Kunena and Community Builder and my website is UFTailgating.com

Thanks for your help,
Zac
The topic has been locked.
Support Specialist
14 years 7 months ago #14979 by alzander
It looks like you manually entered additional permissions that you're requiring within JFBConnect's configuration area. Those settings should be comma separated, and not by a carriage return:
user_birthday,user_events,user_likes,etc

If you didn't add those, let me know, but that's where the problem lies.. Facebook isn't liking the additional permissions that are being requested.

Finally, just getting those permissions doesn't get you the data. You'll need to use our Profile Plugins, or code something on your own, to fetch and store that information about the users. Our Profile plugins will also handle adding all the additional permissions you'd need for any of the fields that you wanted to import.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #14981 by zacpen
Thank you very much. That is exactly where the problem was. It might be best for you to make sure and add that little example onto the instruction page during the configuration. I never would have thought about not hitting ENTER.

I have installed the plugins, but I ran out of time yesterday to play with them.

Here is another question for you...
What if my existing members used a different e-mail address than their Facebook account?
If I change the configuration settings to only allow registration/login w/ Facebook, then what happens to my already existing members that used a different e-mail then facebook?
The topic has been locked.
Support Specialist
14 years 7 months ago #14983 by alzander
The "info" button on the right of the box tries to clarify, but we'll see if we can make it a little more accepting to different inputs in the future.

As for existing users, we should have you covered there in a few ways:
* If you're User Creation setting is "Full Joomla User", when a user first clicks the FB Login button, they'll be brought to a page where they can login with an existing Joomla account and associate that with that existing account with Facebook (even if the emails are different).
* Even if not, in the JFBCLogin module, if a user logs in through Joomla with an account that hasn't been connected to Joomla, they'll see a "Connect this account to Facebook?" button, where they can link the accounts there.

There is always the possibility of a user creating two separate accounts, but if the user has 2 email addresses, that's always a possible problem.

Hope that helps explain,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #14990 by zacpen
Sorry to keep bothering you but now it doesn't seem like I can log out of my website. I keep hitting the logout button but nothing seems to happen.

Also when I was researching Facebook extensions I could have sworn that I saw image gallery linking between facebook and joomla. I would like for my facebook account pictures to show in an image gallery on my website, as well as my users image galleries to be displayed in their Community Builders Profile. Is this something that is possible?

Zac
The topic has been locked.
Support Specialist
14 years 7 months ago #14991 by alzander
I just logged in (created an account) and was able to logout without problems. However, it looks like you're using the "Automatically Log Facebook Users" in feature of JFBConnect. If you're using other Logout buttons than the JFBCLogin one, those won't log the user out of Facebook as well.. in which case, the user will be logged out of Joomla.. but then when the page reloads, JFBConnect will log them back in.

If that's the case, you'll need to update the other login buttons by adding the code below:
onclick="javascript:jfbc.login.logout_button_click()"
So, the full button may look something like:
<input type="submit" name="Submit" id="jfbcLogoutButton" class="button" value="Logout" onclick="javascript:jfbc.login.logout_button_click()" />

We're looking into ways to do this 'behind the scenes', but don't have a universal way yet..

Hope that makes sense,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #14994 by zacpen
Ok I restarted my computer and it worked just fine. I guess it is time for a new computer ;)
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #14996 by zacpen
Another thing...What do I have to do in order to visit my website and experience what a new user would go through to signup? I have tried to change my e-mail address associated with my website so it doesn't match Facebook, but somehow it still knows who I am. I just want to see what happens to my new users.

I would also like for ONLY Facebook users to be able to register...Is that possible? I have been getting spammers lately and I am already tired of it.
The topic has been locked.
Support Specialist
14 years 7 months ago #15005 by alzander
Zac,
You'd need to 'break' the existing connection between your Joomla user on your site and Facebook user. You can do this in the User Map area of JFBConnect. Simply find your user and delete the connection.

Once a connection is made, it doesn't matter if the email addresses don't sync up.. we just know that the users on each site are the same and paired, so you'd need to break that manually.

For existing users, you can enable the "Allow Reconnections" setting in JFBLogin to let a user that already has a connection to re-map it to a different Facebook user.. therefore 'freeing' up the first Facebook user to connect freshly.

Hope that all helps and makes sense, but if not, let us know!
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #15014 by zacpen
Thanks Alex! You are a very patient man and I really appreciate all of the support. This is by far the best $50 I have spent on my website. I will be sure to leave a review on Joomla for you.

I followed the instructions for adding the Login With Facebook button into the top header for Kunena, and it works nicely, but for some reason I can not log out while using Kunena? I push the small log out button, then the computer thinks for a couple seconds, then this message appears "Automatically logging you in with your Facebook credentials" and I remain logged in.

I know this really isn't your issue, but I was wondering if you could help me out with it anyways. I would like to remove the "Usename, Password, Remember Me, Login, Forgot your password, Forgot your username, and Create and account portions of the header. I would like for only Facebook members to be able to register automatically due to spammers.

Thanks again,
Zac
The topic has been locked.