• Resolved wwalker

    (@wwalker)


    Using WP 3.0.3 [Simple Facebook Connect] Version 0.23 using Godaddy hosting
    I have activated Simple Facebook Connect – Base, SFC – Register, SFC – Login & SFC – Connect Widget.
    My Facebook app is setup (179828462036160) , everything looks to be ok, but it doesn’t work.
    domain is http://forum.ourcalling.org/
    clicking on “Connect with Facebook” asks for your FB credentials, then it asks you to create a login for the WP site. If you login with an existing WP account and click on “Connect this WordPress account to Facebook”, nothing happens.

    Any ideas?

Viewing 15 replies - 1 through 15 (of 27 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Works for me. Just tested it on 3.0.3, and on GoDaddy hosting as well.

    When you click the “Connect this WordPress account to Facebook”, the page will spin a bit, and it may ask you to log into FB, then it will refresh and the accounts will be connected.

    If that doesn’t happen, you might have some other plugin interfering or something.

    Thread Starter wwalker

    (@wwalker)

    I have disabled all other plugins – still nothing.
    On the Facebook app, on the “Facebook Integration” tab, i didn’t change (or add) anything. On the “website” tab, I set “Site URL” to “http://forum.ourcalling.org/” and “Site Domain” to “ourcalling.org”
    is that correct?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    That all sounds right to me. Don’t know what to tell you other than it works on my test sites (and my main sites too). I also use GoDaddy hosting. PHP 5.

    Thread Starter wwalker

    (@wwalker)

    I click on “Connect this WordPress account to Facebook” and literally nothing happens.

    Thread Starter wwalker

    (@wwalker)

    Can you connect to my page through facebook?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Yes, I got that. Doesn’t help me diagnose anything.

    Here’s how that button works:

    1. It’s a Facebook Button. So clicking it activates Facebook’s Javascript.
    2. Facebook checks to see if you’re logged in, and if not up comes the login window.
    3. Facebook checks to see if you’ve given permissions to the application, and if not, up comes the permissions window.
    4. After all this, a bit of javascript added to the profile page makes a call back to your server, telling it to connect your WP and FB accounts.
    5. The accounts are connected on the server, then a response is sent back to the browser.
    6. The javascript on the browser receives the response, then does a page refresh.

    Something going wrong in step 4 or 5 would result in you not seeing anything happen. But there’s no way to diagnose that. That’s all behind the scenes. If your browser javascript is horked up, you can check the error console and see if there’s any messages. If the server is disallowing the AJAX request, you could see it in the server logs, perhaps.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    BTW, the fact that you got to the point of it asking for you to create an account proves the plugin works and is hooked up to Facebook correctly.

    Try a different browser. See if that helps.

    Thread Starter wwalker

    (@wwalker)

    I’m trying Chrome, Firefox and Safari

    Thread Starter wwalker

    (@wwalker)

    FYI, this is a new install of everything. Just setup the subdomain two days ago, installed WP, BP and SFC. Nothing is sacred here if I need to blow it all and start over.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Starting over never solves anything. If you don’t know what caused the problem, it will just happen again.

    Thread Starter wwalker

    (@wwalker)

    I’ve got nothing. I’m not a tech ninja. I have Firebug in Firefox and it shows a handful of warnings, but no errors. Any other ideas?

    This is for a growing nonprofit in Dallas. We work with 8-10K homeless men, women and children. We’ve had 2,500 volunteer positions filled this year, and we desperately need something like this for collaboration. Any suggestions on where we could “get” help?

    Thread Starter wwalker

    (@wwalker)

    With Firebug I just saw an error.
    On my profile page, when I click on “Connect this WordPress account to Facebook”
    I see this:

    Fatal error: Uncaught exception ‘FacebookRestClientException’ with message ‘Session key invalid or no longer valid’ in /locationofmywebsite/wp-content/plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php:3112 Stack trace: #0 /locationofmywebsite/wp-content/plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php(438): FacebookRestClient->call_method(‘facebook.connec…’, Array) #1 /locationofmywebsite/wp-content/plugins/simple-facebook-connect/sfc-login.php(126): FacebookRestClient->connect_registerUsers(‘[{“email_hash”:…’) #2 [internal function]: sfc_login_ajax_update_fbuid(”) #3 /locationofmywebsite/wp-includes/plugin.php(395): call_user_func_array(‘sfc_login_ajax_…’, Array) #4 /locationofmywebsite/wp-admin/admin-ajax.php(1531): do_action(‘wp_ajax_update_…’) #5 {main} thrown in /locationofmywebsite/wp-content/plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php on line 3112

    does this help identify the problem?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Well, that’s definitely the problem.

    Try this: Activate the SFC-Publish plugin. Then use the various permission buttons to grant it offline access. Make sure to Save Settings. Then see if you get the same error.

    Thread Starter wwalker

    (@wwalker)

    Offline Permission Granted.
    Now I get a new error:

    Fatal error: Uncaught exception ‘FacebookRestClientException’ with message ‘Unknown method’ in /locationofmywebsite/wp-content/plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php:3112 Stack trace: #0 /locationofmywebsite/wp-content/plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php(438): FacebookRestClient->call_method(‘facebook.connec…’, Array) #1 /locationofmywebsite/wp-content/plugins/simple-facebook-connect/sfc-login.php(126): FacebookRestClient->connect_registerUsers(‘[{“email_hash”:…’) #2 [internal function]: sfc_login_ajax_update_fbuid(”) #3 /locationofmywebsite/wp-includes/plugin.php(395): call_user_func_array(‘sfc_login_ajax_…’, Array) #4 /locationofmywebsite/wp-admin/admin-ajax.php(1531): do_action(‘wp_ajax_update_…’) #5 {main} thrown in /locationofmywebsite/wp-content/plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php on line 3112

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Okay, I have no idea why you’re getting that error.. That makes no sense at all.

    What it’s trying to do there is to verify that your email address matches the address Facebook has for you. To verify that you are you and to prevent other people from connecting their WP accounts to your FB account.

    Do you have a proper email address in your WP user profile? Is it the same as the email you have on your Facebook account?

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘[Plugin: Simple Facebook Connect] – can't connect’ is closed to new replies.