Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot get manage_pages publish_pages permission for admin of a Facebook app

I'm trying to develop a Nodejs app that will automatically post images/videos to my page once/twice per day.

When using it in Development mode everything works fine, but after changing the app to Live mode, using the Graph API explorer I cannot get permissions to manage_pages and publish_pages. I'm asking for these permissions as the user with admin roles both at the page and the app.

I've read the documentation, and it seems to me that as an admin I should be able to get those permissions and get a page access token, but I can't.

Is there anyone that knows what's wrong?

Thank you!

like image 797
Jordi Blanch Avatar asked May 31 '18 13:05

Jordi Blanch


2 Answers

To resolve this issue:

  • Open your Facebook profile (the same one that has been added as an admin on the target facebook page).
  • At the top-right of the page click on the down arrow and select "settings". From the left menu select "Business Integrations".
  • Look for the app that is linked to the target page and click on the "View and edit" link.
  • Ensure under the "Manage your Pages" -> "Pages" title the target facebook page is selected. Note: You might have to click on "See all Pages" to see all the pages linked to your facebook profile.
  • Do the same by scrolling down to the "Show a list of the Pages you manage" title, you will need it later.
  • Click on save.
like image 98
Nzwisisa Chidembo Avatar answered Oct 23 '22 19:10

Nzwisisa Chidembo


your application will work fine if you stay in development mode.

If you need the application to publish with a cronjob or something similar and nothing else, you don't need to put your application live.

Also, you probably need to get a permanent token, that can be done by following that method : http://stackoverflow.com/questions/17197970/facebook-permanent-page-access-token

like image 23
Asenar Avatar answered Oct 23 '22 19:10

Asenar