I am developing an app to post multiple post messages in one time. Say I have 5 fan pages and 10 groups. It will post them all. I have used graph api method and its working well when using for loop and executing one at a time. But I came to know about facebook batch request. Now the problem is when I to fan pages using fan page access token from (https://graph.facebook.com/100000598120816/accounts) its working fine

$param = array( 'message' =&gt; "Demo test " , 'access_token' =&gt; "&lt;fan page access token&gt;");
try { 
    $posted = $facebook-&gt;api('/425355934226513/feed/', 'post', $param);
    if (strlen($posted["id"]) &gt; 0 ) $success = TRUE;
} catch  (FacebookApiException $e) {
    $errMsg = $e-&gt;getMessage();
    $error = TRUE;
}


But when I try to do the same using batch request, It post as the USER, not as PAGE ADMIN.

$arr1[] = array(  "method"=&gt;"POST", 'relative_url' =&gt; '&lt;fan page id&gt;/feed',"body" =&gt; "message=Apps testing..Please ignore this message for page." , 'access_token' =&gt; "&lt;FAN PAGE TOKEN&gt;");
$arr1[] = array(  "method"=&gt;"POST", 'relative_url' =&gt; '&lt;my group id&gt;/feed',"body" =&gt; "message=Apps testing..Please ignore this message for page." , 'access_token' =&gt; "&lt;USER PAGE TOKEN&gt;");
try { 
    $posted = $facebook-&gt;api("/?batch=".urlencode(json_encode($arr1)), 'post');
    $success = TRUE;
} catch  (FacebookApiException $e) {
    $errMsg = $e-&gt;getMessage();
    $error = TRUE;

}


P.S Both the above code runs successfully. But in fan page its showing as the USER not PAGE ADMIN.

Thanks in Advance.


Question: No sound in Ubuntu except at log in
Answer: Sometimes the problem is that alsa somehow got muted. Open a terminal and type:

alsamixer




and disable Auto-Mute Mode. The mute can be toggled with the M key.