Search code examples
facebookapipostprivacy

Facebook - Using graph api post on a business page - but everyone sees it - want only users liked can see it


using an app and graph API i am trying to post on a business page i got the page token and able to post on the page, but that posts can be seen by everyone even a user not even logged into facebook i am trying to post a message on a page where only users who have liked that page can see those posts

I tried

1> when giving permission (while logging) set the permission as Friends only (in question who can see posts this app post) 2>adding privacy parameter while posting a post (ALL_FRIENDS)

but still the post is public and everyone can see it how to post so only the users who have likes can see it

thank you for everyone help


Solution

  • That's not a feature of the API - if you don't want logged-out users to see something on a Page, add demographic restrictions to it so only logged in users that meet the restrictions can see the page