INTRO to jQUERY’s .getJSON() FUNCTION – Super Simple Javascript/jQuery Tutorials


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(‘’, function(fbResults) {




JSON examples in video:

Additional Resources:

“Facebook Graph API Reference”

“Using JSON in the Google Data Protocol”

Post Author: hatefull