Hi guy,
I am just recently join Giant Bomb and trying to requests some data but unexpected there is some error encounter "Uncaught SyntaxError: Unexpected token", there is url below:
var api = "http://www.giantbomb.com/api/reviews/?api_key=[TokenKey]&format=json&limit=3&sort=publish_date:desc";
function Myfunction () {
$.ajax({
url: api,
type: "GET",
dataType: "jsonp",
crossDomain:true,
jsonp:"false",
jsonpCallback: "callback",
success: function(result){
<!--Some code after success-->
},
error: function(result){
console.log("Error");
},
});
Pleaseee help ~~~~~~
Log in to comment