Creating post on facebook via API
I am trying to create an application that publishes posts to my Facebook Page. Here are the steps I have taken:
- Create app via link
https://developers.facebook.com/
- In section
Add use cases
I selactedOther
Select an app type
->Buiseness
- Then I created app
- I didnt add any
Add products to your app
I directly go tohttps://developers.facebook.com/tools/explorer/
- In permision section I selected
pages_read_engagement
andpages_manage_posts
- Then in
User or Pages
I selectedGet Page Access Token
- I selected my page (I created it)
- Then I generated access token
- I run this query and copy number
id
from return - Then I run /id/feed POST to publish post:
I get error message that I'm not admin or have incorrect permissions. In my opinion this is correct so issue is somewhere other. Can you please help me find solution for running POST query and publish post on a FB page?