Facebook APIを使用して写真をページに公開すると、それらは単一のストーリーとして表示されます。
$args = array(
'message' => '',
);
$args["picture"] = '@' . realpath($file);
$ch = curl_init();
$url = 'https://graph.facebook.com/me/photos?access_token='.$token;
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $args);
$data = curl_exec($ch);
Facebookから公開すると、写真ごとに1つのストーリーとして正しく表示されます。これをプログラムで行う方法は?