I'm trying to build a custom stackoverflow badge using JSONP and mootools. Here is the code:
new Request.JSONP('http://stackoverflow.com/users/flair/166325.json', {
onComplete: function(data) {
console.log(data);
}
}).request();
However, I always get back this message:
RequestJSONPrequest_maprequest_0 is not defined
I'm wondering if this is a problem with the response from stackoverflow since requests to other services with JSONP work fine for me.