WordPress.org

Ready to get started?Download WordPress

Forums

Recent Facebook Posts
Fatal error: Uncaught OAuthException (4 posts)

  1. daeiron
    Member
    Posted 1 year ago #

    I get this error (after some time):
    Fatal error: Uncaught OAuthException: Error validating access token: Session has expired at unix time 1332190800. The current unix time is 1339803350.

    The session seems to be expired, token only lasts for 2 hours I think.
    How can i fix this?

    http://wordpress.org/extend/plugins/recent-facebook-posts/

  2. daeiron
    Member
    Posted 1 year ago #

    This is the exact message (after 2 hours):
    Fatal error: Uncaught OAuthException: Error validating access token: Session has expired at unix time 1361556000. The current unix time is 1361557423. thrown in /home/wens/domains/wens.nu/public_html/wp-content/plugins/recent-facebook-posts/classes/facebook-php-sdk/base_facebook.php on line 1238

    Renewing access token in admin panel solves it, but of course not what one wants every 2 hours.

  3. Danny van Kooten
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Daeiron,

    Strange. The access token should renew itself everytime you log into WordPress. Did you check the "remember me" box at the login form to the WP Admin panel or ..?

  4. daeiron
    Member
    Posted 1 year ago #

    No the box isn't checked. But I think the problem is solved..
    I previously linked the plugin to an already exisiting app on facebook, what I now did is create a new facebook app and link the plugin to the new app. Since then no problems.
    BTW how often should one login to renew the token at least?(once a week, once a month?)

    Thanks for your help

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic