Facebook中使用“Feed”方法的消息共享未出现在新闻Feed中

时间:2012-05-24 10:55:02

标签: facebook

我尝试使用以下代码在我的网站上分享Facebook上的链接,但它只出现在墙上,我想在Facebook的墙壁和新闻Feed中出现共享内容,任何方法都可以吗?

FB.ui(
  {
    method: 'feed',
    name: 'Facebook Dialogs',
    link: 'http://developers.facebook.com/docs/reference/dialogs/',
    caption: 'Reference Documentation',
    description: 'Dialogs provide a simple, consistent interface for applications to     interface with users.'
  },
  function(response) {
    if (response && response.post_id) {
      alert('Post was published.');
    } else {
      alert('Post was not published.');
    }
  }
);

1 个答案:

答案 0 :(得分:0)

尝试将method更改为'share'