Post to fan page with facebook graph api

0

I made a script in which automatically put in a fan page on facebook, the script works, but the post is only visible to the user who posted (that is the fan page admin), in the login I am asking for the permissions below:

$loginUrl = $facebook->getLoginUrl(array('scope'=>'manage_pages,publish_stream'));

And I'm posting with the following code:

$args = array(
 'access_token' => $page_info['access_token'],
 'link' => 'http://www.sitelink.com.br/alguma-coisa',
 'method' => 'post'
);

$facebook->api("/99999999999/feed","post",$args);

Does anyone know if in the login I have to ask for some more permission to appear as public posts?

Do I have to configure something else in the facebook app there in the developers?

    
asked by anonymous 05.06.2014 / 00:56

1 answer

1

Try the publish_actions permission. Note that this permission is of type 'extended', and will be requested separately from the user.

For more information: link

    
05.06.2014 / 16:37