TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sourabh Dhiman
NA
323
58k
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
Reply
Answers (
3
)
How to read values in Ajax call and change status?
Get Multiple media url