Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

400 Bad Request from https://talkgadget.google.com/u/0/talkgadget/_/widget #8

Open
btucker opened this issue Feb 26, 2014 · 4 comments

Comments

@btucker
Copy link

btucker commented Feb 26, 2014

When trying to implement this, I'm getting a 400 Bad Request error in the console, and nothing renders on the screen. My sample page is based on https://github.com/google/instant-hangouts/blob/master/index.html Any ideas?

@jfgomez86
Copy link

I just tried the demo, and only the button is working, not the widget. It works like this:

  <script src='/javascripts/instanthangouts-0.1.0.js' async></script>
  <div class='instanthangouts' render="createhangout"></div>

but not like this:

  <script src='/javascripts/instanthangouts-0.1.0.js' async></script>
  <div class='instanthangouts'></div>

or this:

  <script src='/javascripts/instanthangouts-0.1.0.js' async></script>
  <div class='instanthangouts' render="hangout"></div>

For me it's not working properly because all I wanted was to be able to instantly create a room, given a website but all the button does, is start a new hangout by having me explicitely invite other people. I'd like to just be able to share a unique link per site url.

@matthewturk
Copy link

I'm seeing the same issue. Looking over the Hangouts API at https://developers.google.com/+/hangouts/button it says that currently render must be equal to createhangout. Does this mean the functionality has been deprecated, or perhaps not yet supported?

@GingerDD
Copy link

We run into the same problem. But some live edX course does show widget mode and it is working. Hope more suggestion and advice can be provided.

@LucasCioffi
Copy link

@btucker @jfgomez86 @matthewturk @GingerDD
Here's an example of the Google Hangout widget working: https://edge.edx.org/courses/Summer/BMo101/2013_Spring/59aedf33860e4cc8b5bab2e329b7fe19/

I read that developers have to whitelist their domain with Google Hangouts, but there weren't any instructions for how to do that.

Given that working example above, is anyone able to get it working on their site or is this definitely a whitelisting issue? Thank you!

PS- Maybe by "whitelisting" they're talking about adding the app to the Google developer console here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants