Is there still a way to fetch instagram feed without using access token now (06/2016)?

社会主义新天地 提交于 2019-12-02 19:33:16
Dimitrije Zoroski

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

John Codeos

https://www.instagram.com/anyuser/media stopped working today. You can use https://www.instagram.com/anyuser/?__a=1 instead.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!