[?] Playing with the Google Data (YouTube) API... - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: [?] Playing with the Google Data (YouTube) API... (/showthread.php?tid=87617) [?] Playing with the Google Data (YouTube) API... by roflmao456 on 12-06-2008 at 03:16 AM
Could anyone help me with this? I seem to be getting "Expected ';'" errors.. jscript code:underlined: Expected ";" error GetContents is a XMLHTTP GET request and returns the responseText. Basically i'm just searching youtube =P oh and sorry for ruining the layout. RE: [?] Playing with the Google Data (YouTube) API... by NanaFreak on 12-06-2008 at 03:41 AM well seeing as your doing and eval, wouldnt you need a ; inside the eval'ed code? as it has to comply with the js standards? =\ RE: [?] Playing with the Google Data (YouTube) API... by roflmao456 on 12-06-2008 at 04:37 AM
quote:i already tried putting a ;.. no difference RE: [?] Playing with the Google Data (YouTube) API... by Matti on 12-06-2008 at 09:49 AM
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. RE: [?] Playing with the Google Data (YouTube) API... by roflmao456 on 12-06-2008 at 08:45 PM
jscript code: it works perfectly. RE: [?] Playing with the Google Data (YouTube) API... by felipEx on 12-07-2008 at 05:04 PM
jscript code: jscript code: See also: Using JSON with Google Data APIs / Requesting and using JSON feeds RE: [?] Playing with the Google Data (YouTube) API... by roflmao456 on 12-08-2008 at 01:23 AM
yay for felipe |