I'm designing a web app that allows people to post on peoples wall using the Facebook Graph API. Basically my app users will be able to search for people by name, then write a message and finally post it to their wall.

The problem is that in certain cases people on Facebook block the option for others to post on their wall. So when sending the post from my app Facebook will return an error.

My question is whether the Facebook API returns a parameter that states whether or not it's possible to post to somebody's wall based on their permission on Facebook.

My app will also be posting to events and groups (not only to users). Do you happen to know if there is a "can_post" equivalent to events and groups as well?
–
GabiSep 17 '12 at 4:04

No, not directly. I think you might have to check the privacy of the group/event first, and if it’s not public, you’d have to check if the user is a member of the group/participant in the event …
–
CBroeSep 17 '12 at 8:10

Thanks again. Tried to do that, but if the event is not public, the app would not be able to retrieve the list of users participating in the event)
–
GabiSep 17 '12 at 16:38

Well that will depend on what kind of access token you’re using. For a non-public event, it would have to be an access token from the creator of the event or a user who is allowed to see it.
–
CBroeSep 18 '12 at 10:25