I seem to be getting an error 400 whenever I try to pass the twitch tv api within my application. My application works fine on localhost but fails when deployed.
I was sent here by the twitch tv moderators.
Here is my post on the twitch forums with all the information:
support.twitch.tv/discussion/6124/twitch-api-is-generating-an-error-in-app-engine
Could somebody please help me!
--
You received this message because you are subscribed to the Google Groups "Justin.tv API Developers" group.
To post to this group, send email to justintv-ap...@googlegroups.com.
To unsubscribe from this group, send email to justintv-api-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/justintv-api-developers/-/blPIjfa1ch0J.
For more options, visit https://groups.google.com/groups/opt_out.
I am receiving the same error.
--
You received this message because you are subscribed to the Google Groups "Justin.tv API Developers" group.
To post to this group, send email to justintv-ap...@googlegroups.com.
To unsubscribe from this group, send email to justintv-api-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/justintv-api-developers/-/L0JrLCMBwGIJ.
--
You received this message because you are subscribed to the Google Groups "Justin.tv API Developers" group.
To post to this group, send email to justintv-ap...@googlegroups.com.
To unsubscribe from this group, send email to justintv-api-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/justintv-api-developers/-/0N6JaygQYfIJ.
--
You received this message because you are subscribed to the Google Groups "Justin.tv API Developers" group.
To post to this group, send email to justintv-ap...@googlegroups.com.
To unsubscribe from this group, send email to justintv-api-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/justintv-api-developers/-/Do9NtGX-giQJ.
File "/base/data/home/apps/s~suitegamer/1.361316860569454472/main.py", line 457, in get
check_if_life2 = self.check_if_live((streamss[(streamss.find('.tv/')+ 4):]))
--
You received this message because you are subscribed to the Google Groups "Justin.tv API Developers" group.
To post to this group, send email to justintv-ap...@googlegroups.com.
To unsubscribe from this group, send email to justintv-api-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/justintv-api-developers/-/c29wg8qJDXgJ.
The user-agent from app engine apps always appends AppEngine-Google to the end of any user-agent you specify. From what I understood, the punctuation of { ; : . - } would cause the request to not be answered by the twitch api. The dash in the middle of AppEngine-Google is probably what is causing a failure here. That would also mean that every google app engine app is isolated from contacting the twitch api!
He also has a thread about this on the forums, we tested the useragents theory with curl and can't confirm it
http://pastie.org/private/nymiyxhkwm6ku1symah1bg
On Monday, August 27, 2012 5:52:44 PM UTC-4, Mike Ossareh wrote:Hey Suitegamer,I had to start a new thread because however it is that you're replying to emails breaks my browser.The user-agent from app engine apps always appends AppEngine-Google to the end of any user-agent you specify. From what I understood, the punctuation of { ; : . - } would cause the request to not be answered by the twitch api. The dash in the middle of AppEngine-Google is probably what is causing a failure here. That would also mean that every google app engine app is isolated from contacting the twitch api!Ah, yes, you are right - the benefits of having an email archive! I'd investigated this some amount a while ago but didn't pursue it through to a fix. I'll look into this again in the near future and let you know where I get.
--
You received this message because you are subscribed to the Google Groups "Justin.tv API Developers" group.To post to this group, send email to justintv-ap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/justintv-api-developers/-/SOmD9kvhB8gJ.