所以,我正在使用 FB API 将消息发布到用户的墙上。我的代码如下:
<script type="text/javascript">
FB.ui({
method: 'post',
message: 'Testing Message',
caption: 'This is the Caption value.',
name: 'Testing JS feed dialog on Antoher Feed',
link: 'http://anotherfeed.com?ref=link',
description: 'Testing property links, and action links via Feed Dialog Javascript SDK',
picture: 'https://shawnsspace.com/ShawnsSpace.toon.nocolor..png',
properties:
[
{
text: 'Link Test 1', href: 'http://anotherfeed.com?ref=1'
},
{
text: 'Link Test 2', href: 'http://anotherfeed.com?ref=2'
},
],
actions:
[
{
name: 'Shawn', link: 'http://anotherfeed.com'
}
]
});
</script>
不起作用...有什么想法吗?