Ultimate Facebook plugin not auotposting to Facebook. Error log shows 1 of 4 errors

We have used the Ultimate FB on many other sites with no problems… except this one.

http://www.catalystconsultinggroupllc.com should be autoposting it’s blogs to their new FB page at https://www.facebook.com/pages/Catalyst-Consulting-Group-LLC/291793940906887

It’s not.

The error log shows 1 of 4 errors:

OAuthException: Error invalidating access token: The session is invalid because the user logged out.

OAuthException: Error invalidating access token: This may be because the user logged out or may be due to a system error.

OAuthException: (#200) The user hasn’t authorized the application to perform this action

OAuthException: Error invalidating access token: Session has expired at unix time 1336683600. The current unix time is 1336685399.

This was setup no differently than any other site we have done. Under the FB settings –> FAcebook API it says Successfully connected to CatConsultGrp2

We have even recreated the FB app several times. And the Extended Permissions are all setup

  • Kimberly
    • Champion of Loops

    bizzyweb, Hi there!

    Facebook recently made some changes that will affect the posting to Facebook pages. We are looking into ways to get the “set it and forget about it” functionality back, but for now you will need to do things a bit differently .

    To successfully post to a page (not a profile), you will have to be logged into Facebook, with an account that has administrative privileges over the page he/she wishes to post to.

    This is due to Facebook changing offline permissions. Not much we can do but we were able to get a work around at least :slight_smile: Hopefully we will have a more ideal fix coming very soon (I know the developer is working on it), it’s just up to Facebook what permissions they will grant offline,

    Best,

    Kimberly

  • Brian
    • New Recruit

    “To successfully post to a page (not a profile), you will have to be logged into Facebook, with an account that has administrative privileges over the page he/she wishes to post to.

    Unfortunately, that only works for two hours. After that, the token expires.

    Is there a way to reacquire a new auth token? If not, functionality will be indefinitely broken until FB changes their policies.

  • Kimberly
    • Champion of Loops

    We are looking into ways to get around this, but it’s basically limited by facebook at the moment. The only way around this is that you can post to your personal wall as much as you like, but Facebook frowns upon using Profile Pages for businesses and will close the Profile if they see it.

    Sorry!

  • bizzyweb
    • Flash Drive

    That is no longer correct Kimberly.

    Even if signed into Facebook with an account that has administrative privileges over the page you wish to post to, it will only work if you have logged into to Facebook with that account recently.

    This problem also only appears to recently setup/installed Ultimate Facebook plugins (and the FB app you need to create to go with it.

    I can re-create this problem at will.

    1. Install WordPress

    2. Install the Ultimate Facebook plugin

    3. Follow the instructions to create a Facebook app

    4. Finish configuring the plugin and set it to auto-post blog’s to a Facebook page that you have Admin Privledges over.

    5. Publish a blog post and see if it posts on Facebook. If it does work, then you have likely recently logged into Facebook on that computer with the account that has admin privileges.

    6. Wait 3 hours and try another post without re-logging into Facebook on the same PC.

    It will fail to post to Facebook every time.

    This problem does not appear to affect any websites that we setup with the Ultimate Facebook prior to April 2012. Every site we have tried to set this up on since then has this problem.

    I’m more that willing to give you admin access on one of our sites and FB accounts to triage the problem.

    It’s either do to a stealth update by FB (as you mentioned earlier) or the setup instructions that are part of the Ultimate Facebook plugin are wrong and need to be corrected.

    If this is a problem that was caused by a new FB policy, my hope is that WPMUdev is actively working on a fix, or will be removing the auto-posting to FB from future releases of the product.

  • Kimberly
    • Champion of Loops

    Hey guys,

    This is our internal notification

    changes introduced

    to Facebook API on May 1st – deprecation of offline_access

    permissions, and what it means for us.

    The change will mostly affect autoposting to Facebook in Ultimate

    Facebook plugin, especially the “set up and forget about it” kind of

    posting. The latest plugin update uses the new way of obtaining tokes,

    so users auto-posting to their profiles should be alright. However,

    posting to a Facebook page (the old “fan page”:wink: has a set of different

    requirements now. To successfully post to a page, the user will have

    to be logged into Facebook, with an account that has administrative

    privileges over the page he/she wishes to post to. The API docs are

    kind of sketchy and not always correct, so I’ll keep prodding at it to

    see if there’s something better we can do, but this is where we’re at

    at the moment.

    So you can see, we are aware, we are working and are not happy about Facebook’s new change.

    They will be cutting off all access (they are slowly axing all exiting tokens, which is why the previous versions of UF work still) adn expiring all access on July 1

  • Kimberly
    • Champion of Loops

    Would you guys object to marking this closed as we know the issue now? I will stay subscribed to updates on the thread, but any fixes will come in the form of a plugin update or Facebook fix and will be reported via the plugin update and not in a specific thread. :slight_smile:

  • Vladislav
    • Dead Eye Dev

    Hello,

    The latest plugin release (v2.2, just released) should have a fix for the issue. Can you please try updating and see if it helps? If you’re still experiencing the issue, please visit the plugin settings page, while being logged into Facebook. You don’t have to actually change any settings if you have them set up as you want them, but this will exchange the access tokens for the long-term ones.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.