I am learning API's at school, so I am not really good at jQuery. But I must make an API call and do something with that information.
I did an ajax request to the Instagram gathering JSONP data.
$.ajax(
{
type: "GET",
dataType: "jsonp",
cache: false,
url: "https://api.instagram.com/v1/tags/" + boxInput + "/media/recent?client_id=8d1631975f2c42fdb8fb628ee9ac8f13",
success: toonResults,
});
function toonResults (Data){
console.dir(Data);
My goal is to say:
Hey JSON Data, I want to select all images from all the 20 Objects you gave me, ( I get 20 results), and place those on my HTML div called #imagearea.
But I have really no idea where to start, exept I've heard that json.parse might do the trick, I just don't know how to apply json.parse in my situation.
Thanks a lot,
Mark.