Simple Facebook Connect
Invalid OAuth Tokens (1 post)

  1. estudios
    Posted 3 years 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 :

    $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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.