Torsten2217 / google-plus-platform

Automatically exported from code.google.com/p/google-plus-platform
0 stars 0 forks source link

Need to able to create and join a Hangout from a third-party web page #54

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The situation:

My social-network site has n people on it, and all n people have expressed (to 
the site) their desire to be in a single Hangout together.  The JavaScript 
running on each user's browsers has all the relevant information.  I need a way 
to throw all n of them into a Hangout.

Ideally, it would be something like

window.open("https://plus.google.com/hangouts/?secretHangoutID=4875692348")

All n browsers would do that, and since all n (and nobody else) knows that 
secret ID, all the invitation and security problems are solved.

This feature seems absolutely vital to integrating Hangouts to any third-party 
site.  The un-aided way (one person goes to Google+, invites all the other 
participants, who themselves go to Google+ and await the invite) is just not 
going to happen reliably.

You could even make the URL visible to the user, so one person could be on text 
chat or Skype (or even SMS!) and C&P  another person an invite to Hangout.

To put the cherry on top, let me specify a particular App that all users will 
have installed and open on the Hangout.  If you had this enhancement, two 
people could be on my chess-oriented website and one says, "Hey, how about a 
game of chess?"  The other says "Sure" and boom, they're both in a Hangout, 
playing my chess App!

Original issue reported on code.google.com by mich...@dust-storm.com on 1 Oct 2011 at 5:48

GoogleCodeExporter commented 9 years ago
Might be related to Issue 28

Original comment by kaktus621@gmail.com on 1 Oct 2011 at 6:09

GoogleCodeExporter commented 9 years ago

Original comment by jch...@google.com on 2 Oct 2011 at 11:03

GoogleCodeExporter commented 9 years ago

Original comment by chirags@google.com on 11 Oct 2011 at 1:02

GoogleCodeExporter commented 9 years ago
hmm this is something i just posted on the discussion forum, need this one 
badly :P 

Original comment by thep...@gmail.com on 17 Oct 2011 at 8:49

GoogleCodeExporter commented 9 years ago
This answers a post I jsut asked about in the forum as well! This would be 
extremely good and would of course also mean that any website using this great 
feature would drive adoption of google plus

Original comment by barry...@gmail.com on 30 Oct 2011 at 6:37

GoogleCodeExporter commented 9 years ago
I do not see, why you could not do this.

1. Submit a callback url initially to your hangout app.

Following only if first participant (hangoutstarter)
   2. getHangoutId()
   3. you create the url from this and submit it to the callback url

4. The callback url (might be behind a login) tells the others about the 
existing hangout and provides the url.

Did I got something wrong?

Original comment by sebila...@googlemail.com on 6 Nov 2011 at 5:59

GoogleCodeExporter commented 9 years ago
I held a discussion with Chee Chew about this exact feature, and he explained 
that for the moment there will not be a huge push for this as it's already 
possible.

You can use Hangout with Extras for this, by doing the following:

function getHangout(name)
{
     global config; //Pull in your main config hash

     //Get the stored root of hangout url and prepend it with the name
     return coinfig.hangout_root + 'mysite-' + name;
}

getHangout('some-topic-string-here');

The reason why you should store the root domain and path is that if google 
decide to make Hx enterprise based then there is a good chance that the static 
links for hangouts will be migrated to the regular hangouts, meaning you can 
just change your config.

This should get you started

Original comment by robertpi...@gmail.com on 11 Nov 2011 at 2:02

GoogleCodeExporter commented 9 years ago
The described "Hangout with Extras" approach would still require to create the 
Hangout from *within* the Hangout  app though. The request as I understand it, 
and how I would support it, is asking for a way to create (and join) Hangouts 
from any external app.

Correct me if I am wrong.

Olaf

Original comment by olaf.mon...@gmail.com on 26 Mar 2012 at 1:57

GoogleCodeExporter commented 9 years ago
A workaround for this issue is described here: 
http://www.youtube.com/watch?v=Al4SbeVyLm4

Original comment by Prison4...@gmail.com on 20 May 2012 at 2:35

GoogleCodeExporter commented 9 years ago
Issue 270 has been merged into this issue.

Original comment by mimm...@google.com on 5 Jul 2012 at 12:06

GoogleCodeExporter commented 9 years ago
I'd also like to see this issue rectified. I have a recruiting app that allows 
companies to "schedule" calls with student jobseekers. I'd like to do those 
calls or video chats with G+ Hangouts but need to be able to schedule the 
hangouts programatically

Original comment by EvanMR...@gmail.com on 7 Mar 2013 at 8:05