0
I made a script in which automatically put on a fan page on facebook, the script works, but the post is only visible to the user who posted (who is the admin of the fan page), in the login I am asking 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 extra permission to appear as public posts?
I have to set up something else in the Facebook app at Velopers?
The app was still in development, so only the admin viewed the posts. I put the app live and it works normally. Thanks for the help.
– tvieira