hubot-google-hangouts icon indicating copy to clipboard operation
hubot-google-hangouts copied to clipboard

How does one set the HUBOT_GOOGLE_HANGOUTS_DOMAIN for a regular gmail account (not a google apps account)?

Open ferventcoder opened this issue 11 years ago • 9 comments

The two domains I have are locked down. :/

When I get links generated like this, I don't see where to put a domain - https://plus.google.com/hangouts/_/g2p33dpcj3htcwhhidd2l6pxnma

ferventcoder avatar Jan 29 '15 13:01 ferventcoder

If it helps, I've noticed that domains generally prefix the generated hangout ID, meaning your URL could be:

https://plus.google.com/hangouts/_/<domain>/id

There's also a query string parameter authuser=n which specifies which account to use in the chat if you're logged into more than one account.

YMMV.

KrofDrakula avatar Feb 19 '15 00:02 KrofDrakula

So basically this only works with google apps (have domains) and not regular gmail accounts (no donains).

ferventcoder avatar Feb 19 '15 00:02 ferventcoder

Not sure, I was just talking about the URLs generated for G for domain hangouts, I may be misunderstanding the problem.

EDIT: Just checked the generated URL by visiting https://plus.google.com/hangouts/_/, it generates a similar URL to the one you posted. Is there something missing here that I've misread?

KrofDrakula avatar Feb 19 '15 00:02 KrofDrakula

The one I posted has no domain. Just _/id

ferventcoder avatar Feb 19 '15 00:02 ferventcoder

Ah for what you may be missing - the hubot script requires the environment variable to be set.

ferventcoder avatar Feb 19 '15 00:02 ferventcoder

Oh, I see. So something like

export HUBOT_GOOGLE_HANGOUTS_DOMAIN=''

would result in

https://plus.google.com/hangouts/_//<id>

... which doesn't work. Maybe filter the double slash in the plugin code?

KrofDrakula avatar Feb 19 '15 00:02 KrofDrakula

Any tips on this? I dont have a Google Apps account just a normal Gmail account

mvaneijgen avatar Mar 17 '15 18:03 mvaneijgen

Has anybody tried the #9 solution?

KrofDrakula avatar May 14 '15 20:05 KrofDrakula

I just saw the link. :) I might give it a shot and let you know.

ferventcoder avatar May 14 '15 21:05 ferventcoder