Created
January 15, 2018 07:22
-
-
Save erdemoflaz/69ee7ff3a993fd08baabc7d5e5133f1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
İnstragram son | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
$.ajax({url: "https://www.instagram.com/explore/tags/falan-felan/?__a=1", success: function(result){ | |
console.log(result.tag.media.nodes) | |
result.tag.media.nodes.forEach(function(element) { | |
$.ajax({ | |
url: "/save_data/", | |
method: 'POST', | |
data: { | |
name: 'falan-felan', | |
sharing_id: element.id, | |
url: element.thumbnail_src | |
} | |
}); | |
$('.kutu').append('<img src="'+element.thumbnail_src+'" style="width:200px">') | |
}); | |
}}); | |
}); | |
</script> | |
<div class="kutu"></div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment