Hi Imoracle. I assume, then, that the data you're requesting is a JSON
string? You can specify that you're expecting JSON content by
including a parameter, which the following page demonstrates (see JSON
Requests section):
http://code.google.com/p/opensocial-resources/wiki/GadgetsMakeRequest
Thi
Hi Jason,
Well as I can see either its a bug in makeRequest or I am trying to do
something which is not allowed:
I tried changing my output from the requested URL:
Initially it was this: (the makeRequest failed)
---
"sm":["
I got your code to work by removing the keyword 'function' from within
the body of init:
...
var refreshInterval = 0;
makeCachedRequest(url, parseJSON, params, refreshInterval);
The URL you are trying to fetch from doesn't exist so it returns a 404
as expected. Try another URL (even http://www.g
3 matches
Mail list logo