Reputation: 39458
I'm using a Facebook marketing-API system user to create some ads. The posts for those ads are created as a fb page.
In the business settings, I've assigned that page as an "assigned asset" to the system user. This worked, since:
GET /me/assigned_pages
returns:
[{"id": "1027844850652657",
"tasks": ["ANALYZE", "ADVERTISE", "MODERATE", "CREATE_CONTENT", "MANAGE"]
...
However, when I try to access any post on that page or the page itself:
GET /1027844850652657`
I get:
OAuthException, code: 10, message: (#10) To use 'Page Public Content Access', your use of this endpoint must be reviewed and approved by Facebook.
So this "assigned page" thing doesn't appear to have any effect.
Curiously GET /me/accounts
returns []
.
What's the recommended way to access posts on a page I created with the system user? Do I really have to use the manage_pages
permission for my app, to request a Page Access Token on behalf of my system user?
Upvotes: 0
Views: 812
Reputation: 74004
manage_pages
to get access to your Pages.Upvotes: 1