如何通过程序邀请用户参加Google Hangout on Air



我想使用Eventbrite/Townscript这样的注册平台来获取有兴趣参加我的Google Hangout on Air的用户电子邮件。现在,我想通过程序邀请那些用户电子邮件参加Hangout。如何做到这一点?

我还看了一下Google Hangout API页面,但不知道该怎么办。如有任何帮助,我们将不胜感激。

您将不得不在您的网站中使用类似的东西来创建挂起按钮。尝试根据您使用的web框架修改邀请。

<html>
<head>
<script>
    <title>Hangout button demo: Inviting people</title>
    <link rel="canonical" href="http://www.example.com" />
</script>
</head>
<body>
    <script src="https://apis.google.com/js/platform.js" async defer></script>
    <g:hangout render="createhangout"
        invites="[{ id : '1234', invite_type : 'PROFILE' },
                  { id : 'foo@example.com', invite_type : 'EMAIL' }]">
    </g:hangout>
</body>
</html>

最新更新