how to get the link from google hangout button? - google-api

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

Related

Unable to setup google hangout API

I have been reading google developers API document and trying to setup my private hangout chat for employees. I have created project in Console, enabled hangout API, verified domain ownership used for service and all that is listed at step one and two on this page https://developers.google.com/+/hangouts/getting-started.
When I go to page Run your app privatly on page https://developers.google.com/+/hangouts/running#running-private I cant find way to add my app as is mentioned here, because there is no Add apps link.
Move the mouse pointer to the left edge of the Hangout to reveal the
menu, choose the three dots (...), then Add apps. The app picker
appears.
Could you please help me

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?

Embedding Google+ Hangout App in web application

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.

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