Support » Plugin: Simple Facebook Connect » Login Not Working (Beta)

  • Resolved joyv


    Hi everyone,

    I just installed the beta version of the SFC plugin and love it but unfortunately the login button does not work for me.

    If I am logged out of FB before trying it looks as if it is going to login me in using my FB credentials but then only takes me back to the login page and does not proceed anywhere else.

    If I am already logged into FB it doesn’t do anything.

    Am I missing something where I need to setup where the page redirects to when you login?

    Also, Is there a widget to add a Connect button in the sidebar?


Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42) Admin

    The login page is supposed to refresh, and the act of refreshing will log you in.

    Do you have javascript disabled, or have any weird browser extensions that might be screwing it up?

    No, Is it functioning properly when you try it?

    I’ll test on 3 more computers when I get home from the office to make sure it isn’t just here.

    What page should you be taken to upon login?

    Plugin Author Samuel Wood (Otto)

    (@otto42) Admin

    Yes, it works fine for me on test sites.

    The way it should work is as follows:

    1. You attempt to go to any page which needs authentication, like /wp-admin. The wp-login.php loads instead (this is normal WordPress).

    2. You click the FB login button. If you’re not logged into FB, you get the popup. If you are, then the popup appears but probably immediately disappears.

    3. After logging into FB, the wp-login.php page reloads. At this point, SFC kicks in on the back end and recognizes that you have FB credentials in your cookies.

    4. The cookies are parsed and your Facebook ID is determined. If your ID is already connected to an existing WP account, then you’re logged in as that account. Else, your email from Facebook is checked and a WP user is found with the same email, and you are then logged in as that user. Either way, you’re directed to wherever you were headed before (like /wp-admin for example), because you’re now logged in as far as WP cares.

    5. If you have no ID or email match, the login page loads and displays the message: “Cannot log you in. There is no account on this site connected to that Facebook user identity.”

    It seems the login isn’t working as it should. I can register perfectly but the login doesn’t do anything.

    After clicking the login button and the facebook connect screen/window pops up the page refreshes and then nothing, back to the login page.

    I try to go directly to the profile page by typing in the url but because I am not actually logged in it doesn’t work.

    Can you test the registration then login function? I will be able to see your account was created in the dashboard.


    I’m going to have to deactivate the plugin for now so that I may test other items.

    I’ll turn it back on asap.

    Plugin Author Samuel Wood (Otto)

    (@otto42) Admin

    You have modified it somehow, because it’s asking for *way* too many permissions there. All it really needs is the email permission.

    testing a different plugin now. This one seems to get the job done…i think…lol

    Its a complicated setup I am trying to make work with facebook, subscription, shopping cart, avatars, and on, and on.

    hi otto , it works perfectly as you say in my site , but the thing is i want where if you are not a registere user , it shld take the facebook email id and approve you to register through that it self and just login from there , is there a facility like that .

    Plugin Author Samuel Wood (Otto)

    (@otto42) Admin

    Yes, that’s there. Just turn on the register function.

    Hey there Otto. I have the registration turned on, in addition to the login module, and it still gives me the “no account on this site” message…

    Any ideas?



    I believe I figured it out. The general blog setting “Anyone Can Register” must be checked in order for the plugin to register a user.

    I had it unchecked and that’s why it wasn’t working.

    Just FYI for anyone who comes across this…


    If a user isn’t previously registered on the site, is there anyway to avoid the registration process? This seems to be what rupya and luke implied. I don’t see it working that way.

    I think SFC requires a user to go through registration (which is aided by filling in the form through SFC), then they can login. Or do I have it wrong?

    I would like them to login with no registration step. If they are not registered, capture the email, create an account and log them in. Can it do that?

    webcomm10, i think i am looking for what you described as well.

    did you figure anything out?

    i want:
    new user visits site and click on Connect With Facebook or whatever and it then recognizes that they are already logged into facebook and seamlessly creates them a wordpress account. They do nothing. No checking their email for a password or anything. They just click connect, it does its thing then redirects them back to the hompage and shows that they are connected (maybe the profile pic displays somewhere?)

    thats my idea. How can we do this?

    Plugin Author Samuel Wood (Otto)

    (@otto42) Admin

    SFC explicitly does not do that. I eliminated the transparent registration mechanism, and very likely will not be adding it back in. Essentially, it’s confusing to the user because they’re creating an account on the site and passing personal information without knowing it. I don’t like it when websites do that sort of thing to me.

    The Facebook authorization screen makes it clear that the site can email the user via their personal email at anytime.

    However, I can see your point and I respect your opinion. Thanks for an awesome plugin.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Login Not Working (Beta)’ is closed to new replies.