1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need Help With Viral App

Discussion in 'FaceBook' started by Noizee, Jan 9, 2013.

  1. Noizee

    Noizee Registered Member

    Nov 29, 2012
    Likes Received:
    Hey BHW, Im trying to use viral app But I have an error: Fatal error: Uncaught OAuthException: Invalid OAuth access token signature. in base_facebook.php file, Can Someone Tell me how can i fix this problem?

    protected function throwAPIException($result) {
        $e = new FacebookApiException($result);
        switch ($e->getType()) {
          // OAuth 2.0 Draft 00 style
          case 'OAuthException':
            // OAuth 2.0 Draft 10 style
          case 'invalid_token':
            // REST server errors are just Exceptions
          case 'Exception':
            $message = $e->getMessage();
            if ((strpos($message, 'Error validating access token') !== false) ||
                (strpos($message, 'Invalid OAuth access token') !== false) ||
                (strpos($message, 'An active access token must be used') !== false)
            ) {
    Error said that I have mistake in This code. Can someone explain How to fix it?