0
function publish(){
var wallPost = {
message : "testing...",
picture: "http://seho.woto.net/fb/cordova_bot.png"
};
FB.api('/me/feed', 'post', wallPost , function(response) {
if (!response || response.error) {
alert('Error occured');
} else {
alert('Post ID: ' + response);
}
});
}
当我发布到上述功能的墙,后显示如下:如何将图片发布到用户的墙上?
但我想是这样的:
所以我想知道如何在消息中添加图片?其他应用程序如何做到这一点?