【问题标题】:How to programatically invite users for Google Hangout on Air?如何以编程方式邀请用户参加 Google Hangout on Air?
【发布时间】:2014-11-01 07:18:05
【问题描述】:

我想使用 Eventbrite/Townscript 之类的注册平台来获取有兴趣参加我的 Google Hangout on Air 的用户电子邮件。现在我想以编程方式邀请这些用户电子邮件进行环聊。该怎么做?

我也看过Google Hangout API Page,但不知道怎么走。任何帮助将非常感激。

【问题讨论】:

    标签: java rest hangout


    【解决方案1】:

    您必须在您的网站中使用类似的东西来创建环聊按钮。 尝试根据您使用的网络框架修改邀请。

    <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>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多