2

我尝试使用以下代码从我的网站在 Facebook 上共享一个链接,但它只出现在墙上,我想在 Facebook 的墙上和新闻源中出现共享的东西,有什么方法吗?

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.');
    }
  }
);
4

1 回答 1

0

尝试更改method'share'.

于 2015-01-10T01:31:07.993 回答