Is there still a way to fetch instagram feed without using access token now (06/2016)?
https://www.instagram.com/anyuser/media
stopped working today. You can use https://www.instagram.com/anyuser/?__a=1
instead.
EDIT : you can now get the json data of your profile simply with this link : https://www.instagram.com/anyuser/?__a=1
If your profile is set to public mode you can fetch your data from json response just write: https://www.instagram.com/YOURUSERNAME/media
example: https://www.instagram.com/bestcookingvideos/media
you can see json structure with : http://json.parser.online.fr/
Note: This page is not active anymore : https://www.instagram.com/YOURUSERNAME/media
2020.11.17
As in the answer you can get the profile details with 12 recent post via https://www.instagram.com/anyuser/?__a=1
but the problem is that this does not allowed to fetch media pagination. So for that you need to use
https://instagram.com/graphql/query/?query_id=17888483320059182&variables={"id":"15165085906","first":20,"after":null}
Above route will return first 20 media of the relevant user who belongs to the id and when we need get next 20 we need to pass the end_cursor
which is in initial call .
For more info ref related answer
You can use this jquery library I developed:
https://github.com/BanNsS1/jquery.instagramFeed
No api token required
Edit for the coments below:
It's just jquery powered library that allows you to load the first 12 items of any public instagram profile.
How it solves the problem? Loading 1 to 12 last posts without requiring an access token/api key
<script type="text/javascript" src="jquery.instagramFeed.min.js"></script>
<script type="text/javascript">
(function($){
$(window).on('load', function(){
$.instagramFeed({
'username': 'instagram',
'container': "#instagram-feed1",
'display_profile': true,
'display_biography': true,
'display_gallery': true,
'get_raw_json': false,
'callback': null,
'styling': true,
'items': 8,
'items_per_row': 4,
'margin': 1
});
});
})(jQuery);
</script>
Want more? It will take 2 clicks and some scroll.