Cool:
Did you know that you could share a link to let people chat with you in Hangouts?
We use these links for certain invites, but they work if you hand build them and share them too.
https://hangouts.google.com/chat/person/ 111111111111
Where the number is your profile id
With vanity urls it’s harder to find that, but the easiest way is to use the public api call here https://developers.google.com/+/web/api/rest/latest/people/get#try-it.
Put “me” into the userId field and it will output your numerical id in the response.
By constructing such an invitation URL you can get people to directly start a Google Hangouts chat with you.
The above steps will give you a lot of JSON output which includes an id
field somewhere in the middle. With one more trick you can get just the id
field.
You can limit the output by putting
id
in the fields to request as the image on the right shows.
Sometimes clicking on G+ posts, you even get the id
for free, I’m just not sure under what circumstances G+ builds a G+ URL with username or with id
.
–jeroen
Source: We have made a number of changes internally to Hangouts…
via: