WordPress.org

Ready to get started?Download WordPress

Forums

WP-AutoSocial
[resolved] Uncaught OAuthException (2 posts)

  1. i0n1ca
    Member
    Posted 1 year ago #

    Hy
    Great work on this plugin, i like it and i`m trying to make it work.
    I can't get rid of this error, no matter what i do. Delete app, reinstall plugin, changes, offline permisions, extended permissions set but nothing. On every new post, or edited post, i get this:

    Fatal error: Uncaught OAuthException: An unknown error has occurred. thrown in /home/xxx/public_html/wp-content/plugins/wp-autosocial/facebook.php on line 543

    What should i do?

    There are the lines 541-554

    // results are returned, errors are thrown
        if (is_array($result) && isset($result['error'])) {
          $e = new FacebookApiException($result);
          switch ($e->getType()) {
            // OAuth 2.0 Draft 00 style
            case 'OAuthException':
            // OAuth 2.0 Draft 10 style
            case 'invalid_token':
              $this->setSession(null);
          }
          throw $e;
        }
        return $result;
      }

    Any help ?

    http://wordpress.org/extend/plugins/wp-autosocial/

  2. i0n1ca
    Member
    Posted 1 year ago #

    Everything works fine now, i didn't change anything so the problem is solved :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic