WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
Invalid OAuth Tokens (1 post)

  1. digdan
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.