Facebook Login doesn't seem to work

Questions related to the configuration of Joomla, Templates, and Security related questions/issues
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Tue Mar 06, 2012 4:46 pm
Hello.

My site is located at http://test.lookoutkokomo.com I am using TWNII template.

I have configured my template and the facebook authentication plugin correctly with my fb API settings. When I click on the login button on my site I am presented the form for logging in using Joomla Authentication as well as Facebook Authentication.

If I click on the login with facebook button, I am presented with facebook OAuth page which seems to work. Following that, though, the facebook connect popup goes away and I am returned to the joomla login box, not logged into the site.

The end result seems to be that I am logged into fb, but not my Joomla site. Additionally, I can report that I never see a dialog from facebook that asks permission to share information with my Joomla site.

Please feel free to look at my site and test, as I am sure I am not explaining clearly.

Thank you in advance.
User avatar
Fresh Boarder

teitbite
Thu Mar 08, 2012 1:29 pm
Hi

I'm going to ask programmers about this.
User avatar
Moderator

teitbite
Fri Mar 09, 2012 8:15 pm
Hi

I got answer from programmers:

I've checked it and all is OK with the script. The problem is probably connected with WRONG API keys in the template and the Facebook Auth plugin. When the keys are wrong then there is no error messages. Additionally I see that now if user is logged in in the Facebook and the permissions are granted for the specific application then there is no popup on the page - the login process is automatically done.
User avatar
Moderator

GK User
Mon Mar 19, 2012 2:27 am
The API keys are correct, and I don't believe this is working properly.

The login pop never goes away, and the user is never presented with additional functionality that a registered user would receive.

Am I incorrect in assuming that this should also allow for account registration so that people who login via facebook can be part of the "registered users" group on my site?

Thanks,
Craig
User avatar
Fresh Boarder

teitbite
Tue Mar 20, 2012 5:31 am
Hi

I've asked programmer to join our conversation. I've never been using this plugin and also I cannot find anything in joomla documentation about it. So we will need to wait for someone who will throu some light on it.
User avatar
Moderator

teitbite
Fri Mar 23, 2012 1:03 am
Hi

I was asked by programmers for joomla panel access and ftp access. Can You send it to me ?
User avatar
Moderator

GK User
Tue Sep 25, 2012 3:43 pm
Hi
I seem to be having this problem as well (using the latest version of Bikestore). I've created a developer account on facebook and put my API number in the template social section of the template config. Clicking on the facebook login on the front end just does nothing.
I noticed on Facebook Developer screen there is an API "Secret" - surely one would need to put that in the template setting as well?
I see there have been a few posts about this problem but I haven't found any where there is a solution.
If it cannot be solved I will just disable it, but it does seem like a nice feature!
Many thanks
Arthur
User avatar
Fresh Boarder

GK User
Tue Sep 25, 2012 4:25 pm
Okay so I've made a little bit of headway. Here is what I did one the FB developer page settings:

1) Make sure your domain name is in:
- Settings - Basic - App domains
- Settings - Basic - Website with Facebook Login - Site URL
2) Click on Permissions, make sure it is set to "Public"

Now the problem is that the Gavick template changes the username to "Facebook" and gives an error saying the user is not registered...

That is as far as I've got... any help would be appreciated.
User avatar
Fresh Boarder

GK User
Tue Sep 25, 2012 4:29 pm
SOLVED! And working now...
After doing the above - I read through above posts again and realised I never put my API and Secret code in the PLUGIN - Facebook Authentication settings.
Just tested and now it works :-)
Thanks!
User avatar
Fresh Boarder

teitbite
Wed Sep 26, 2012 12:06 am
Hi

Yeap, most common mistake :) I'm glad it's working now.
User avatar
Moderator

GK User
Wed Sep 26, 2012 7:54 am
Yup I feel a bit stupid haha 8-)
So for anyone with the same problem, make sure you've done the following:
1) Setup your Facebook API here: http://developers.facebook.com/
2) Make sure of the following once you are a FB "developer":
a) Make sure your domain name is in:
- Settings - Basic - App domains
- Settings - Basic - Website with Facebook Login - Site URL
b) Click on Permissions, make sure it is set to "Public"
3) Copy your API number, go to your Joomla backend, click on the Gavick template, go to the social API tab, paste your code in (or replace the one thats there) and save.
4) Click on Extensions, then Plugins. Find the "Facebook Authentication" plugin, edit it, and on the right under parameters paste your API code, go back to the FB developers page, copy your "Secret code" and back to the joomla plugin, paste the secret code. Save!
5) Clear cookies etc and force refresh front-end login (CNTRL & F5). Click the FB login button (you do not need to type any username password in the joomla login boxes, just leave it - it will automatically remember your FB login/psw).
Worked for me :-) hope it works for you...
User avatar
Fresh Boarder

GK User
Tue Oct 16, 2012 9:34 am
artyboy007 wrote:Yup I feel a bit stupid haha 8-)
So for anyone with the same problem, make sure you've done the following:
1) Setup your Facebook API here: http://developers.facebook.com/
2) Make sure of the following once you are a FB "developer":
a) Make sure your domain name is in:
- Settings - Basic - App domains
- Settings - Basic - Website with Facebook Login - Site URL
b) Click on Permissions, make sure it is set to "Public"
3) Copy your API number, go to your Joomla backend, click on the Gavick template, go to the social API tab, paste your code in (or replace the one thats there) and save.
4) Click on Extensions, then Plugins. Find the "Facebook Authentication" plugin, edit it, and on the right under parameters paste your API code, go back to the FB developers page, copy your "Secret code" and back to the joomla plugin, paste the secret code. Save!
5) Clear cookies etc and force refresh front-end login (CNTRL & F5). Click the FB login button (you do not need to type any username password in the joomla login boxes, just leave it - it will automatically remember your FB login/psw).
Worked for me :-) hope it works for you...


Thank you for great share.
User avatar
Senior Boarder

teitbite
Tue Oct 16, 2012 6:29 pm
Hi

Thank You for this full instruction. I'm going to use it if anyone will ask about this again :)


<FACEBOOK-LOGIN>
User avatar
Moderator

GK User
Mon May 20, 2013 10:30 pm
followed these instructions, and popup still closes with no login :(
User avatar
Fresh Boarder

teitbite
Tue May 21, 2013 3:07 pm
Hi

@thegreensolution please show me Your site.
User avatar
Moderator

GK User
Wed May 22, 2013 11:42 pm
sent you my site via pm teitbite
User avatar
Fresh Boarder

teitbite
Fri May 24, 2013 9:34 am
Hi

@thegreensolution I do not see Facebook login button anywhere. Please point me to where I can see this button.
User avatar
Moderator