RE: [?] Playing with the Google Data (YouTube) API...
I'm just guessing here, but maybe you should first store the GetContents result in a variable and check if it was successful to avoid unwanted results. When I looked at the resulting JSON, it looks like it's missing a semi-colon at the end, so you might want to add that.
Are you sure that GetContents returns the response properly? In order to get that working, it has to be done synchronously (xmlHttp.async = false) otherwise you can't retrieve the response.
|