2012-11-14 60 views
2

我希望在我的應用程序中分享我牆上的圖片以向所有朋友展示。 (就像我在Facebook上發佈照片一樣)。在Facebook上張貼帶有Feed對話框的圖片

我想使用feed對話框,但我認爲我做錯了。

FB.ui({ 
     method: 'feed' 
     ,name:  'Look at my picture !' 
     ,link:  'https://www.facebook.com/link_to_app' 
     ,caption: "Application title" 
     ,source: "http://icanhascheezburger.files.wordpress.com/2009/03/funny-pictures-kitten-finished-his-milk-and-wants-a-cookie.jpg" 

    } 

那麼我該如何在牆上發佈圖片呢?

回答

2

您需要刪除符合,source開始,而不是添加一行

,picture: ......, //url of picture in place of the .....