本文介绍了配置Facebook share dalog将默认显示为“Friends”Timeline“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要打开这样的常规分享对话框:

To open a regular share dialog like this one:

我使用以下代码:

FB.ui({
  method: 'share',
  href: 'https://www.happymood.co',
}, function(response){});

现在,如果我想要默认选项显示在你的朋友的时间轴上而不是在你自己的时间轴上,我需要对这段代码进行什么修改?

Now if I want the default option to show "On your Friends' Timeline" instead of "On your own Timeline", what changes must I make to this code?

谢谢。

推荐答案

根本不可能定义另一个默认设置。您可以查看Facebook文档,查看可以使用的参数:

It´s not possible at all to define another default setting. You can check out the Facebook docs to see what parameters you can use: https://developers.facebook.com/docs/sharing/reference/share-dialog

这篇关于配置Facebook share dalog将默认显示为“Friends”Timeline“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 03:11