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?