I kept getting this error after a fairly short period of time.

Facebook SDK threw an error: OAuthException: A user access token is required to request this resource. It is possible that your Facebook account cannot access the configured pages, if so please log in again in Facebook autopost configuration page.

On the config page my facebook account shows minus the pages, with a logout link that does nothing. I've tried logging in and out of facebook, it did clear for me once giving me the option to log back in but at the moment I seem to be stuck with this error.

Comments

e0ipso’s picture

Status: Active » Closed (duplicate)

This is closely related to #1921590: Cannot get past error: Cannot ask for user accounts without an access token. You may need to reconfigure you Facebook app. This is basically Facebook telling you that you don't have your credentials in order.

marcus178’s picture

Not entirely sure if my problem was the same as the other issue, but here's what I think it might have been.

I was working on my development site but using the Facebook app that I use for my production site. I created a new Facebook app for testing purposes, and the only difference being the setting "Website with Facebook Login" and setting the url to my dev site.

So it has kept me logged in and no errors.

itshaseebanwar’s picture

Go in your site Admin -> configuration

Inside section webservices -> Facebook Autopost

Inside session handling tab clear the session and then you can try to login again.

For complete detail how to configure facebook autopost please visit our site:
http://www.thesstech.com/drupal-how-configure-facebook-autopost