1
有關此調用的所有信息均有效,但圖片不顯示。 我在SO上發現了一個other question,但沒有解析。FB.UI圖片不顯示
任何想法爲什麼這不顯示圖片?據我所知,FB正在吃圖片,因爲它甚至不會在對話框中顯示爲標籤,如果我亂搞URL,它會檢測到問題並拋出錯誤信息,但爲什麼它是否在吃圖像呢?
FB.ui({method: 'feed',
app_id: 'XXXX',
name: 'This is the name field',
link: 'http://localhost:8080/facebook/',
picture: 'http://localhost:8080/img/sample.gif',
caption: 'This is the caption',
description: 'Description field'},
function(response) {
if (response && response.post_id) {
alert('Post was published.');
} else {
alert('Post was not published.');
}
});
是的。這就是它所需要的。謝謝。 – boatcoder