You have to request permission via the API to access users profile on facebook. Posting to a users wall or sending them a message without any approval would be bypassing facebook’s platform policy and should facebook find out about this activity they will surely shut down your application and possibly block your developer account.
NOT recommended.
You should ask for the correct permissions from your users and act according to the policy of the platform on witch you are developing.
solved publish a message on facebook without user approval [closed]