So. I can't make this work and i can't find any solution about this.
Here is my code.
$result1 = $facebook->batchApi('***********/feed', 'POST', array(
'attached_files' => $facebook->attachFile($uploads[2]),
));
$result2 = $facebook->batchApi('*********/feed', 'POST', array(
'attached_files' => $facebook->attachFile($uploads[1]),
));
$res = $facebook->processBatch(array(
"access_token" => $user_profile['data'][0]['access_token'],
));
I'm using facebook-batch-api. It's just simple wrapper for batch requests. Need make post like this https://www.facebook.com/centrMAN/posts/587573351326832