facebook分享ui - 共享一组

问题描述:

我想与FB.ui共享一个链接,所以我将获得成功/失败的回调 ,但FB.ui不允许选择共享的位置(“”时间表”, “一组在” ....)像老sharer.phpfacebook分享ui - 共享一组

见screenshot-

enter image description here 我的代码使这个弹出:

enter image description here

有没有办法让新的fb.ui弹出窗口允许像老一样共享“一个组”?

这是我的代码:

FB.ui(
     { 
     method: 'feed', 
     name: 'some name', 
     link: 'http://some url', 
     picture: 'http://some image', 
     caption: "some text", 
     description: "some description" 
     }, 
     function(response) { 
     if (response && response.post_id) { 
      console.log('Post was published.'); 
     } else { 
      console.log('Post was not published.'); 
     } 
     } 
); 

Share Dialog和有这种限制很遗憾!

这两个对话框主要用于在您的时间线上发布/共享。 Feed对话框确实有to参数,但它只能是故事将发布到的配置文件的ID;并且此ID必须是也会使用您的应用的朋友。

+0

“共享”对话框绝对有一个目标选项:“共享对话框允许用户将个人故事发布到他们的时间线,朋友的时间轴,群组或私人消息中,这不需要Facebook登录或任何扩展权限,因此这是在网络上启用共享的最简单方法。“ – Ripside 2016-06-22 15:48:41