问题描述
我在我的网站上整合了Google+登录,用户可以在此网站上注册,当他们通过Google+互动帖子分享内容时,归功于他们的1分,所以我需要来自互动广告的回调,否则不知道用户是否取消了分享。你知道如何从互动帖子中获得回调吗?代码如下:
I integrated Google+ Sign-In on my website, users can register on this site and when they share something via Google+ interactive posts, is attributed to their 1 point, so I need a callback from interactivepost otherwise not know if users cancel the sharing. Do you know how to get a callback from interactive post? The code is as follows:
<button id="gpShareBtn" class="g-interactivepost"
data-contenturl="<?php echo _PATHWEB; ?>"
data-clientid="<?php echo _GPCLIENTID ?>"
data-cookiepolicy="single_host_origin"
data-prefilltext="text"
data-calltoactionlabel="TRY_IT"
data-calltoactionurl="<?php echo _PATHWEB; ?>"
data-gapiscan="true"
data-onload="true"
data-gapiattached="true">gpshare</button>
提前致谢
推荐答案
目前没有可用于交互式帖子的回调。有一项开放式功能请求,您可以明星表示您的兴趣并获得更新:
Currently there is no callback available for interactive posts. There is an open feature request for this that you can star to show your interest and get updated:
https://code.google.com/p/google-plus-platform/issues/detail?id=521
这篇关于谷歌加上互动帖子回调的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!