Google plus分享按钮回拨(当分享成功时) [英] Google plus share button callback (when share is succeded)
本文介绍了Google plus分享按钮回拨(当分享成功时)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法获得回调的成功的共享与这段代码? (用于在Google上分享链接)
is there a way to get the callback for a succeful share with this code ? (it's for sharing a link on google plus)
<a href="https://plus.google.com/share?url={URL}" onclick="javascript:window.open(this.href,
'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><img
src="https://www.gstatic.com/images/icons/gplus-64.png" alt="Share on Google+"/></a>
谢谢
推荐答案
https://developers.google.com/+/web/share/
onendinteraction
函数(jsonParam)
function(jsonParam)
如果指定,消失。
此函数接受单个参数,其结构与结构相同。参数传递给onstartinteraction。
This function accepts a single parameter, which is identical in structure to the parameter passed to onstartinteraction.
这篇关于Google plus分享按钮回拨(当分享成功时)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文