WordPress.org

Support

Support » Plugins and Hacks » Simple Facebook Connect » [Plugin: Simple Facebook Connect] Invalid OAuth Tokens

[Plugin: Simple Facebook Connect] Invalid OAuth Tokens

  • I receive an error about an invalid OAuth token when trying to access data via the sfc_remote function.

    I traced back where the tokens are parsed and found a potential bug. In sfc-base.php, line 407(ish), you use a str_replace when you should be :

    parse_str($resp['body'],$parsed_response);
    $args['access_token'] = $parsed_response['access_token'];

    As a ‘&expires=xxxx’ was found on the end of the response string.

    I corrected this issue, but I still receive Oauth token errors, even though I can visibly see that it is using the correct tokens.

    Any help is greatly appreciated.

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  • The topic ‘[Plugin: Simple Facebook Connect] Invalid OAuth Tokens’ is closed to new replies.
Skip to toolbar