1// jQuery Ajax for feed Instagram Graph API 2if ($('#instagram-feed1').length != 0) { 3 $.ajax({ 4 url: '/instagram.json', 5 type: 'GET', 6 success: function (response) { 7 for (var x in response.data) { 8 var link = response.data[x]['permalink'], 9 caption = response.data[x]['caption'], 10 image = response.data[x]['media_url'], 11 image_video = response.data[x]['thumbnail_url'], 12 html = ''; 13 if (response.data[x]['media_type'] == 'VIDEO') { 14 html += '<div class="instagram_new">'; 15 html += '<a class="insta-link" href="' + link + '" rel="noopener" target="_blank">'; 16 html += '<img src="' + image_video + '" loading="lazy" alt="' + caption + '" class="insta-image" />'; 17 html += '</a>'; 18 html += '</div>'; 19 } else { 20 html += '<div class="instagram_new">'; 21 html += '<a class="insta-link" href="' + link + '" rel="noopener" target="_blank">';
22 html += '<img src="' + image + '" loading="lazy" alt="' + caption + '" class="insta-image" />'; 23 html += '</a>'; 24 html += '</div>'; 25 } 26 $('#instagram-feed1').append(html); 27 console.log(response.data[x]['call_count']); 28 } 29 }, 30 error: function (data) { 31 var html = '<div class="class-no-data">No Images Found</div>'; 32 $('#instagram-feed1').append(html); 33 } 34 }); 35}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.