0
没有显示我有这个Facebook的(是的,在PHP变量得到正确解析成URL)Facebook的jssdk fb.ui图片对话框
FB.ui(
{
method: 'stream.publish',
attachment: {
name: 'My Social Status',
caption: 'This Is My Social Status',
picture: 'http://server.com/<?php echo $finalimagepath; ?>',
description: 'My social status lets you create a profile pic that tells your real mood. ',
href: 'http://apps.facebook.com/app'
},
action_links: [
{ text: 'My Social Status', href: 'http://apps.facebook.com/app' }
]
},
function(response) {
if (response && response.post_id) {
alert('Post was published.');
} else {
alert('Post was not published.');
}
}
);
</script>
WideBlade,您是否设法解决您的问题?我遇到了同样的问题。 – lordg 2011-06-27 14:06:29
其实 - 没有。我采取了不同的方式,让对话框显示图片而不是状态。感谢复兴! – t0mgs 2011-07-08 17:50:10