https://github.com/suda/slack-hangout
Custom command for Slack allowing to create Hangouts in channels
https://github.com/suda/slack-hangout
Last synced: about 1 year ago
JSON representation
Custom command for Slack allowing to create Hangouts in channels
- Host: GitHub
- URL: https://github.com/suda/slack-hangout
- Owner: suda
- Created: 2014-08-20T12:48:36.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-20T13:41:57.000Z (almost 12 years ago)
- Last Synced: 2025-03-29T10:11:51.468Z (about 1 year ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slack custom command for creating ad-hoc Google Hangouts
**This was made without knowledge about [official Hangouts integration](https://issuestand.slack.com/services/2562199464).
You can still use for experimental purposes but for work I recommend using official one.**
Just type `/hangout` in any channel or direct message to create unique Hangout link.
## Installation
[](https://heroku.com/deploy?template=https://github.com/suda/slack-hangout)
## Configuration
**Warning: for the following steps you can't use Google Apps account.
Just log in with @gmail.com account.**
* Go to [Google Developers Console](https://console.developers.google.com)
* Create Project
* In **APIs & auth** select **APIs** and set **Calendar API** to **ON**
* In **APIs & auth** select **Credentials** and click **Create new Client ID**
* Set **Application Type** to **Web application**
* Set **Authorized JavaScript Origins** to your Heroku app URL
* Set **Authorized Redirect URI** to your Heroku app URL with `/oauth2callback` suffix (i.e. `http://peaceful-journey-9207.herokuapp.com/oauth2callback`)
* Click **Create Client ID**
* In Heroku go to your app settings and **Config Variables** section
* Click **Reveal Config Vars**
* Add **CLIENT_ID** variable with **CLIENT ID** value from Google Developers Console
* Add **CLIENT_SECRET** variable with **CLIENT SECRET** value from Google Developers Console
* Add **REDIRECT_URL** variable with **REDIRECT URIS** value from Google Developers Console
* Go to your Heroku app URL with `/auth` suffix (i.e. `http://peaceful-journey-9207.herokuapp.com/auth`)
* Accept request
* Copy token into **GOOGLE_TOKEN** Heroku config variable
* Go to [https://api.slack.com/](https://api.slack.com/), scroll to **Authentication** section
* Issue a token for your Slack user
* Copy the token to **SLACK_API_TOKEN** Heroku config variable
* Save Heroku variables
## Support
If you have any questions or improvements, [create an issue](https://github.com/suda/slack-hangout/issues/new) :)