2014-10-28 112 views
8

我加了谷歌的Hangouts按鈕到我的網頁下面the instructions如何創建Google聊天按鈕進行聊天?

<script src="https://apis.google.com/js/platform.js" async defer> 
</script> 
<g:hangout 
    render="createhangout" 
    topic="cpp11" 
    hangout_type="moderated" 
    invites="[{ id : '74838920', invite_type : 'PROFILE' }, 
     { id : '[email protected]', invite_type : 'EMAIL' }]"> 
</g:hangout> 

當我按下該按鈕進行視訊聚會開始(informaing我,我應該啓用視頻)。我也不確定我是否正確地邀請了環聊邀請對象,但稍後我會討論。

如何讓一個聊天窗口打開按鈕上按?

回答

1

我不認爲聊天/文本只有functonality可用。您的問題已較一般問過(不是特定於Google+視頻羣聊按鈕):

還有的甚至沒有在默認情況下禁用視頻的方式。

我無法找到的官方文件說明聊天不僅是可能的,但the tag line for Google Hangout Apps是:「有些事情是更好的臉對臉」這些API還建議視頻確實是Google環聊的重點。

2

現在有一個選項:

使用https://hangouts.google.com/chat/person/profileID。配置文件ID是用戶的唯一ID,可以通過People API

+0

您還可以在google plus中找到您的個人資料ID。例如,我的谷歌個人資料網址是https://plus.google.com/u/0/101381925233311212296,它告訴我,我的hanguts個人資料ID是101381925233311212296. 把它放在一起:https://hangouts.google .COM /聊天/人/ 101381925233311212296 – bdombro 2018-01-10 16:16:47