发布附件Facebook图形API

发布附件Facebook图形API,facebook,facebook-graph-api,Facebook,Facebook Graph Api,现在我正试图弄清楚如何使用facebooks graph api发布附件 现在我正在使用 $attachment = array( 'message' => $_POST['tt'], 'text' => 'Download', 'name' => 'name', 'href' => 'http://www.url.c

现在我正试图弄清楚如何使用facebooks graph 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还不支持附件

参数消息、图片、链接、, 名称、标题、描述、来源


有关解决方法,请参见中的“我的答案”。

Graph API尚不支持附件

参数消息、图片、链接、, 名称、标题、描述、来源


有关解决方法,请参阅中的我的答案。

在graph支持附件之前,您必须使用旧的php SDK。。。Graph仅支持照片上传。
Im将Graph和旧SDK混合使用,没有问题。

在Graph支持附件之前,您必须使用旧的php SDK。。。Graph仅支持照片上传。
Im混合了Graph和旧SDK,没有问题。

Graph API支持附件了吗?Graph API支持附件了吗?