Reputation: 18821
I would like to post updates to a Facebook Page I own, using the API.
I followed the instructions in this answer to obtain:
I can use the long-lived access token to post to my wall, but neither that nor the specific page access token allow me to post to my page.
If I try to use the personal long-lived access token to post to my Page ID, it returns OK and an actual post ID, but the post never appears on the page.
If I try to use the page access token to post either to /me/feed
(which should be the page) or to the page ID, I get #200 The user hasn't authorized the application to perform this action which I clearly did.
What am I doing wrong?
Do I need to submit my app for review? How can I do so, when I don't even have an "app"? It has no public facing website, nothing, because it's only a single script for my own personal use, which I'd like to use to update my page.
Upvotes: 6
Views: 4574
Reputation: 3238
according to the docs you will need publish_pages
permission to post as page from api v2.3 . Prior, it needed permission publish_actions
in addition to manage_pages
. Now they have introduced publish_pages
specifically for that purpose. .
A page access token with
publish_pages
permission can be used to publish new posts on behalf of that page. Posts will appear in the voice of the page.
Upvotes: 5