这是非常简单的代码:
var obj = {
method: "feed",
link: share_url,
picture: share_url,
name: "test name",
caption: "test caption",
description: "Using Dialogs to interact with users."
};
function callback(response) {
console.log(response);
}
FB.ui(obj, callback);
share_url 是这样的:
问题是帖子写在我的墙上,但图像不在那里!即使我为“链接”和“图片”提供了相同的 URL。这是为什么?