Embedding Google+ Hangout App in web application - google-api

Is there any way to embed a Google+ hangout app in a PHP-based website? Can I load the app inside an iframe without having to land on Google+ hangout page? If so, how?

Not really. Launching a Hangout Video Call from your own website is possible, but without special coordination with Google, it will open it in its own window/tab.
See http://www.youtube.com/watch?v=Al4SbeVyLm4 for further information about how to start a Hangout Video Call from your own website.

After doing some research I found out that we can not embed a Google+ Hangout in our application. We can only do that inside a Google+ hangout page. There's an active issue tracker opened on code.google.com where you can vote up and comment so that Google can release this feature in the coming API releases.

Related

how to get the link from google hangout button?

How do you get the link of a google hangout button from my website, that was generated by goole's api. Im trying to store the link and store in the database.
You can get the hangout url using getHangoutUrl() in your hangout app
https://developers.google.com/+/hangouts/api/gapi.hangout#gapi.hangout.getHangoutUrl

List Google Hangouts App on Google Apps Marketplace

We have developed an app using Google Hangouts API.
Now we want to list it on Google Apps Marketplace.
We have tried to add the Google Apps Marketplace SDK service to the app but it erases the settings of the Hangouts API page. These two services don't seem to work together.
Does anybody know if this can work? How long does Google usually take to reply to the Listing Review Request form?
The Listing Review process is a reactive process after your app is already published in the Google Apps Marketplace (via the Chrome Web Store)
Have you already listed the app on the Chrome Web Store?
Currently you cannot list Hangout Apps on the Google Apps Marketplace. In order for users to launch your Hangout App, use the the Hangouts Button.

Google + API Get Hangout Id from URL

I am trying to integrate Google Hangout API into my website.
The user wants to:
Create a hangout
Copy that URL
Save that URL in our site
Display information about hangout
I know that I can get the information I need using: https://www.googleapis.com/plus/v1/activities/{activityId}
What I am struggling with is getting the activity id.
The only solution I see is:
First somehow find the userid /plus/v1/people?query
Then list the activities for that person /plus/v1/people/00000/activities/ and match the url
Then call /plus/v1/activities/
There as to be an easier way surely!
I think the easier solution would be to go a different route entirely. Instead of trying to get the hangout information via the Google+ post/activity, create a Hangout App that sends the URL for the hangout to your server. Under this scenario, the steps would be one of the two following scenarios.
Simple way:
User starts a hangout video chat from your website
The website link to create it also includes the gid of an app to start when the video chat starts
The app sends a message to your website indicating the URL of the hangout that was started
Alternate way:
User starts a hangout however they want to
When they're ready to tell your website, they run the same app
The app sends a message to your website indicating the URL of the hangout
Depending on your needs, you can then have the app do other things associated with monitoring the hangout is still alive, the number of people, etc. Your website would then display the information it receives using whatever format you wish.
You can find out more about this method in the video How do I Include a Hangout on my Website?

How to check Google+ Hangout ending event using the API

I have been working on a web app that, among other things, allows users to communicate with each other using Google+ Hangout.
The web app initiates the hangout and passes the Hangout URL to other potential participants. During the Hangout sessions the Hangout app sends information back to the server (using Ajax) on several events such as “onParticipantsAdded", "onParticipantsRemoved" etc.
I am trying to find out a way to notify the web app when the Hangout is over. The other events I mentioned (such as onParticipantsRemoved) will not work once the last participant leaves.
Currently I am sending a “heartbeat” from the hangout to the web app every few minutes, but I am wondering if there is a better way to know when the Hangout ends?
Since the hangout operates inside a window, you might be able to catch the onclose event for that window, but best practice is to rely on a heartbeat, as you've described.

Create Hangout session with unique link

I'm working to create a hangout app. where initiator can create a hangout session with unique link and invite others user (called attendees) by giving that unique link. so when an attendee click that link he can attend only that hangout session.
I've created an app. with basic XML file provided by Google, but can't figure out how to create unique link for each hangout session. Is there any functions in Hangout API? as far as I've read API documentation I don't found such function. Can anybody suggest me how to do it?
Please help me....
This YouTube video discusses how to do what you want: http://www.youtube.com/watch?v=Al4SbeVyLm4
The general procedure will be for the initiator to create a hangout using a link on your website and, as part of creating it, starting up a hangout app. This app sends the URL for the hangout back to your website where it can be sent to the attendees.

Resources