I am creating a system of postings on facebook. I created an application and I put it as public. Through the application I ask the following permissions:
- publish_actions
- manage_pages
- publish_pages
- pages_show_list
- public_profile
- user_managed_groups
- user_posts
- user_likes
In the system I program to post to my feed. At the scheduled time it posts correctly. The problem occurs with other users.
The other users do the same process but do not publish and give the error:
(# 200) The user has not authorized the application to perform this action.
I use the User Token to make the post, but only mine, which I own, works. When I click on the button to log in with facebook, it seems that the permissions I ask for the users is less than asking me, I do not know the reason, but it seems that.
The function I use is more or less:
$ post = $ this-> request ('post', '/'.$id_page.'/feed', $ params, $ token);
$id_page = ID do Perfil
$params = Array que contem 'message' com a mensagem do post
$token = token do usuário gerado
I'm using SDK v.2.8