🔵 Google Chat OAuth 測試

⚙️ 設定步驟

  1. 前往 Google Cloud Console
  2. 啟用 Google Chat API
  3. 設定 OAuth 同意畫面(外部、加入測試使用者)
  4. 建立 OAuth 用戶端 ID(網頁應用程式)
  5. 重新導向 URI 填:http://localhost/js/google/oauth_callback.php
  6. 將 Client ID 和 Secret 填入 oauth_config.php

請先登入 Google 帳號

登入後即可以你的身份發送訊息到 Google Chat

📋 我的聊天室

列出你已加入的所有聊天室

💬 發送訊息

📨 聊天室訊息

查看聊天室中的訊息