Monday, October 17, 2016

Facebook API Error: “User does not have sufficient administrative permission for this action on this page.”

Leave a Comment

I'm using a Facebook app (in development mode) to generate a page access token so that my personal web app can schedule/edit/delete posts on a Facebook fan page.

I'm using the Graph Explorer to generate the token while logged in as the admin of the fan page.

When I use that token, I'm able to GET a list of the scheduled posts, but whenever I try to edit or delete a post, I get this error:

"User does not have sufficient administrative permission for this action on this page."

Here is the debug of the token:

enter image description here

Any ideas on how to fix this?

1 Answers

Answers 1

Here according to the documentation

DELETING YOUR POST

These are the permissions you need in the scope of your token.

  • To delete a user's post, a user access token with publish_actions permission is required.
  • To delete a Page's post a Page access token and publish_pages permission is required.
  • To delete a User's post on Page a Page access token is required.
  • To delete another User's post on a Page-owned event the user_managed_groups permission is required.

UPDATING YOUR POST

  • A user access token with publish_actions permission.

SO you need publish_actions permission within the scope of your token.

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment