[Plugin: Social Connect]. Only works when logged out from Facebook. (3 posts)

  1. Brostory
    Posted 4 years ago #


    I am using Social Connect to enable users to log in and register via Facebook. I use it as a widget in my sidebar, as I icon on my forum (Simple:Press) and as a icon at /wp-admin.
    Here's the thing.

    If the user is logged out from Facebook then the icon works perfectly everywhere.
    However if a user is already logged in to Facebook, which let's face it most users will be, then only the /wp-admin works.
    The widget and forum icon opens a new Java window that is completely blank. In the address bar is the following:
    It still works for /wp-admin icon without any issues.

    Obviously I need the plugin to work for logged in Facebook users.

    I've searched the forum and found people with similar problems, yet no replies or solutions.

    Note: I am the admin of the Facebook page and hence the API key etc. Can this be related? Will try to get one of my friends to try.

    Any help greatly appreciated.
    Thank you!

  2. Brostory
    Posted 4 years ago #

    Can't edit for some reason so new post.
    It seems that the frontpage works fine but the /forum directory does NOT work.
    On the Facebook development I have App Domains which is simply the domain name and Website with Facebook Login which is the domain name as well. I tried changing the later to /forum and then I get when trying from the forum page:

    "error": {
    "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.",
    "type": "OAuthException",
    "code": 191

  3. Brostory
    Posted 4 years ago #

    Upon further inspection I noticed the following code on the blank page:

    function init() {
      window.opener.wp_social_connect({'action' : 'social_connect', 'social_connect_provider' : 'facebook',
        'social_connect_signature' : '602657f0745fe4821c56cbb8f33906ff4bb0dbd35b86d3daebccd3dd26a7ec7f',
        'social_connect_access_token' : 'AAADYZCW69VkQBAIJpqPrrePrmFZA44WZCC18IsHPzIGRsqaCMvGeZBYW7WW6SiNUQLOZACl0l4eMOGmClBZAvUmeRQx5WblYLxPV8DXSBU5wZDZD'});
    <body onload="init();">

Topic Closed

This topic has been closed to new replies.

About this Topic