Facebook API API error: "The user does not have sufficient administrative permission for this action on this page."

I use the Facebook application (in development mode) to create a page access token so that my personal web application can plan / edit / delete messages on the Facebook fan page.

I use Graph Explorer to generate a marker at login time as the admin page of a fan.

When I use this token, I can GET a list of scheduled messages, but whenever I try to edit or delete a message, I get this error:

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

Here is the token debugging:

enter image description here

Any ideas on how to fix this?

+10
facebook facebook-graph-api
source share
2 answers

Here according to the documentation

DELETE MAIL

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

  • To delete a user’s message, a user access token with publish_actions permission is required .
  • To delete a page, you must have permission to access the page token and publication.
  • To delete a user’s message on a page, a page access token is required.
  • To delete another user message in an owned event page, user_managed_groups permission is required.

UPDATE YOUR MAIL

  • User access token with publish_actions permission.

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

Update 1

Also check here if you have a valid page role

0
source share

The following areas are required: manage_pages, publish_pages. They have publish_actions changes to publish_pages

0
source share

All Articles