Sourabh Dhiman

Sourabh Dhiman

  • 1.7k
  • 323
  • 20.4k

Not run code api code

Nov 7 2019 1:52 AM
$(document).ready(function () {
var Token = 'EAAIDewR1RbUBACgxOZBpNqW0Tar4hkFXu6nt4cgOSdVFuZAncv3RGjj8NRCCZBTBJd5n7ZClrSOae36SejGLt9rAZAK3C1yVEfWHm4kWx4QmNkeJDmUsINv1AYZAMd0GafPiy115PzKeN8Ljtyg9BSAWVbFH9e0UWlEhZAvUqidrn7KdTiZA9Opx';
var Id = '17866822228521057';
var InstaUrl = 'https://graph.facebook.com/v5.0/' + Id +'?fields=media_url&access_token='+Token;
$.ajax({
url: InstaUrl,
dataType: 'jsonp',
type: 'GET',
success: function (data) {
console.log(data);
for (var i = 0; i < 1; i++) {
$(".instagram").append("<img src='" + data.data[i].images.thumbnail.url + "'></img>");
}
},
 
Not run this code please check issue here
 
 
 

Brought to you by:

Answers (3)