在提要对话框描述中插入链接



我试图通过GET到feed对话框端点(https://www.facebook.com/dialog/feed?…)或使用FB.ui

向包含一组不同网站链接的用户墙发布消息

嘿,我刚刚读了这些故事:

www.example.com/story1

www.example.com/story2

看看他们!

消息是否可能包含链接?我想象任何html插入到字段,如"描述"或"属性"不工作,但我只是想确认是否有另一种方式?

谢谢!

这是可能的,请看看发送对话框url,用户必须手动操作链接(他们无论如何都必须这样做),但这应该允许共享链接。

代码看起来像

FB.ui({
      method: 'send',
      name: 'People Argue Just to Win',
      link: 'http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html',
});

最新更新