2
我創建了一個用於發送消息的Facebook應用程序。我使用php facebook feed代碼發佈了一些內容和圖像到我的牆上。正常情況下,當我在牆上發佈內容時,它會顯示在我的朋友的消息feed.But我的牆後是不是對牆上張貼我的朋友們的消息feed.The代碼可見的Facebook Wall Post未在好友新聞Feed中顯示
$AccessToken = $this->facebook->getAccessToken();
$attachment = array(
'access_token' => $AccessToken,
'message' => "$Msg",
'name' => 'some content',
'link' => $link,
'picture' => "$ShareImage",
'description' => '',
'caption'=>'',
'properties' => array (
'Send one to a friend now:' => array (
'text' => 'Facebook App ',
'href' => 'http://apps.facebook.com/appname/'
),
'Become a fan:' => array (
'text' => 'Page Name',
'href' => 'http://www.Facebook.com/page/'
)
);
$send = $this->facebook->api("/".$fbid."/feed", 'POST', $attachment);
這是因爲缺少任何權限......?
如果我刪除圖片並鏈接它會顯示在朋友個人資料? – Warrior 2011-12-22 10:27:59
感謝Sudhir的幫助 – Warrior 2011-12-22 10:37:44
我不相信這個答案是準確的。媒體文章(圖片)確實出現在新聞提要中。 – 2012-01-23 15:45:25