在墙上张贴照片
答
您可以使用JavaScript SDK中的FB.ui方法。如果您提供的图像的URL为link
和picture
参数。这将为活动用户创建一个贴图帖子,其中包含图片,标题,标题,说明等。图片和标题将链接到您提供的任何URL。
FB.ui({
method: 'feed',
name: 'Name Goes Here',
link: 'link to the image',
picture: 'link to the image',
caption: 'caption goes here',
description: 'description goes here',
properties: ''
},
function(response) {
//You can check the response variable to see if the post has been created
}
);
答
专辑有型,要求左右/图形API的专辑,不是检查可以检查这个名字的时候,你可以看到。
您是否想张贴任何图像,这将打开图像的外部URL,或者您想让图像像在Facebook相册中一样显示?因为第一种选择是可能的,但第二种选择不可行。 – 2012-01-12 17:16:52