Gigya分享吧facebook般的按钮自定义标题和说明

时间:2013-08-23 11:57:23

标签: facebook gigya

我在我网站上的gigya网站上使用以下示例

<script type="text/javascript">
var act = new gigya.socialize.UserAction();
act.setUserMessage("This is the user message");
act.setTitle("Seasons");
act.setLinkBack("https://platform.gigya.com");
act.setDescription("Seasons is a surreal motion graphics animation based on the changing seasons.");
act.addActionLink("Watch this movie", "http://vimeo.com/24496773");
act.addMediaItem({ type: 'image', src: 'http://b.vimeocdn.com/ts/160/564/160564685_100.jpg', href: 'http://vimeo.com/24496773' });
var showShareBarUI_params=
{ 
    containerID: 'componentDiv',
    shareButtons: 'facebook-like, Twitter-tweet, googleplus-share, share',
    userAction: act
}
</script>
<div id="componentDiv"></div>
<script type="text/javascript">
   gigya.socialize.showShareBarUI(showShareBarUI_params);
</script>

但是当我点击类似Facebook的按钮而不是自定义标题(“季节”)和自定义描述(“季节是基于不断变化的季节的超现实动画图形动画。”)时,我正在获取标题和描述设置链接

act.setLinkBack("https://platform.gigya.com");

如何在类似Facebook的按钮上设置自定义标题和自定义说明。

由于

0 个答案:

没有答案