INTRO to jQUERY's .getJSON() FUNCTION - Super Simple Javascript/jQuery Tutorials

Published: 27 July 2012
on channel: Code Cascade
46,838
219

FACEBOOK -   / codecascade  
TWITTER -   / codecascade  

Want to start building mobile user interfaces? More than likely you'll want to pull JSON data from popular sources like Facebook Graph, Twitter API, or Google Data Protocol. jQuery has the solution for retrieving JSON data with the getjson() function.

This video covers the ABSOLUTE BASICS of using jQuery's getJSON() function to retrieve JSON formated data across domains from API endpoints like Facebook's Graph API to help you start building mobile user interfaces today!

JS code from video:

$(document).ready(function() {

$.getJSON('  / zombies'  , function(fbResults) {

document.write(fbResults.name);

});

}


JSON examples in video:   / zombies  


Additional Resources:

"Facebook Graph API Reference"
  / api  

"Using JSON in the Google Data Protocol"
https://developers.google.com/gdata/d...


Watch video INTRO to jQUERY's .getJSON() FUNCTION - Super Simple Javascript/jQuery Tutorials online without registration, duration hours minute second in high quality. This video was added by user Code Cascade 27 July 2012, don't forget to share it with your friends and acquaintances, it has been viewed on our site 46,838 once and liked it 219 people.