Does anyone have working examples of connecting to the music api with HTML and Javascript.
For example: Facebook jquery connection
$.getJSON('http://graph.facebook.com/zombies', function(fbResults) {
var test = window.alert(fbResults.about)});
Does anyone have working examples of connecting to the music api with HTML and Javascript.
For example: Facebook jquery connection
$.getJSON('http://graph.facebook.com/zombies', function(fbResults) {
var test = window.alert(fbResults.about)});
Problem solved thanks to a message from one of the architects "S R" thanks.
Code:<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script> $.getJSON("http://api.ent.nokia.com/1.x/gb/?domain=music&q=love&app_id=demo_qCG24t50dHOwrLQ&app_code=thisisyourdeveloperappcode&callback=?", function(json) { alert("JSON Data: " + json.data.items[0].id); });
Replace the "thisisyourdeveloperappcode" with your app code which you get when you register as a developer.
Code:http://code.jquery.com/jquery-latest.js $.getJSON("http://api.ent.nokia.com/1.x/gb/?domain=music&q=love&app_id=demo_qCG24t50dHOwrLQ&app_code=replacethiswithyourappcode&callback=?", function(json) { alert("JSON Data: " + json.data.items[0].id); });