Do you know where does the API coming from? Shindig container will not have those APIs.
- Henry On Wed, Jun 26, 2013 at 2:50 AM, Sagar Shah <sagar.s...@agreeyamobility.net>wrote: > Hi All, > > I have a use-case where I want to run the hangout app in a standalone > container instead of the Google Hangout. > For that, I'm trying to run my Gadget XML inside the Shindig container. > The Gadget XML consist of authentication with Google+ which works fine. > After that I'm trying to access the hangout APIs. But, the APIs are > returning false and empty values. (Attaching the sample XML file here). > > Code snippet for the first hangout api is, > > function startMyApp() { > console.log("Hurray API Ready"); > } > > function init() { > try { > gapi.hangout.onApiReady.add(**function (eventObj) { > if (eventObj.isApiReady) { > startMyApp(); > } > }); > } catch (e) { > console.log(e.stack); > } > } > > Please let me know if there is anything additional handling required in > the code? > > Thanks, > Sagar. > > *Unified Collaboration and Communication for Office 365, SharePoint, and > Lync* > > http://www.onvelop.com | Available on Android | iOS | Windows 8 >