现在我想弄清楚如何使用facebooks图形API发布附件。发布附件Facebook图形API
现在,我使用
$attachment = array(
'message' => $_POST['tt'],
'text' => 'Download',
'name' => 'name',
'href' => 'http://www.url.com',
'description' => ' description!',
'media' => array(array(
'type' => 'mp3',
'src' => $url,
'href' => 'http://www.url.com/',
'title' => $title,
'artist'=> 'artist',
'album'=> 'the album')));
$statusUpdate = $facebook->api('/me/feed', 'post', $attachment);
问题是,它的唯一发布的消息,不出意外,没有附件或任何东西。
有没有人有任何想法为什么?
谢谢
Graph API是否支持附件? – 2012-05-03 16:25:40