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...
Смотрите видео INTRO to jQUERY's .getJSON() FUNCTION - Super Simple Javascript/jQuery Tutorials онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Code Cascade 27 Июль 2012, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 46,838 раз и оно понравилось 219 людям.