Search found 2 matches

by BillyAB
Sun Jan 11, 2015 1:55 pm
Forum: API
Topic: [SOLVED] Uncaught SyntaxError: Unexpected token
Replies: 2
Views: 4744

Re: Uncaught SyntaxError: Unexpected token

Hi Thanks, I thought that was the issue. We needed to make the move to using PHP for the requests over JS so i'll share my function for anyone else having an issue. function GetMovieThumb($MovieID) { $URL = "http://webservice.fanart.tv/v3/movies/".$MovieID."?api_key=4e6175137822b938951bee8a411a251d"...
by BillyAB
Sat Jan 10, 2015 4:49 pm
Forum: API
Topic: [SOLVED] Uncaught SyntaxError: Unexpected token
Replies: 2
Views: 4744

[SOLVED] Uncaught SyntaxError: Unexpected token

Hi All, I was wondering if someone could help me with this. I have this JQuery code $.getJSON("http://webservice.fanart.tv/v3/movies/" + movieID + "?api_key=4e6175137822b938951bee8a411a251d&callback=?", function (json) { console.log(json); var thumbURL = json[0].moviethumb[0].url; where_to_show_post...