{"action":"closed","issue":{"url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/219","labels_url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/219/comments","events_url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/219/events","html_url":"https://github.com/stevenschobert/instafeed.js/issues/219","id":54434193,"number":219,"title":"feed not showing in django","user":{"login":"martibosch","id":5831581,"avatar_url":"https://avatars.githubusercontent.com/u/5831581?v=3","gravatar_id":"","url":"https://api.github.com/users/martibosch","html_url":"https://github.com/martibosch","followers_url":"https://api.github.com/users/martibosch/followers","following_url":"https://api.github.com/users/martibosch/following{/other_user}","gists_url":"https://api.github.com/users/martibosch/gists{/gist_id}","starred_url":"https://api.github.com/users/martibosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martibosch/subscriptions","organizations_url":"https://api.github.com/users/martibosch/orgs","repos_url":"https://api.github.com/users/martibosch/repos","events_url":"https://api.github.com/users/martibosch/events{/privacy}","received_events_url":"https://api.github.com/users/martibosch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stevenschobert/instafeed.js/labels/programming%2Fapi+question","name":"programming/api question","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-15T10:36:19Z","updated_at":"2015-01-15T17:15:28Z","closed_at":"2015-01-15T17:15:28Z","body":"First of all, thanks @stevenschobert for this great plugin.\r\n\r\nI'm trying to use it in a django application, in the following way:\r\n\r\n```\r\nvar userFeed = new Instafeed({\r\n        get: 'user',\r\n        userId: 13740*****, \r\n        accessToken: '13740*****.46*****.90b1f6a020e947038a852950ab6*****',\r\n  limit: 9, \r\n  resolution: 'low_resolution',\r\n  sortBy: 'most-recent',\r\n    });\r\nuserFeed.run();\r\n```\r\n\r\nI tried it on http://codepen.io, and it worked. However, I can't get it to work on django. I have an html template \"instagram_feed.html\"\r\n\r\n```\r\n{% load staticfiles %}\r\n<script type=\"text/javascript\" src=\"{% static \"instafeed.min.js\" %}></script>\r\nvar userFeed = new Instafeed({\r\n        get: 'user',\r\n        userId: 13740*****, \r\n        accessToken: '13740*****.46*****.90b1f6a020e947038a852950ab6*****',\r\n  limit: 9, \r\n  resolution: 'low_resolution',\r\n  sortBy: 'most-recent',\r\n    });\r\nuserFeed.run();\r\n```\r\nand then index.html\r\n\r\n```\r\n{% extends \"base.html\" %}\r\n\r\n{% block social_sdk %}\r\n{% include \"facebook_sdk.html\" %}\r\n{% include \"twitter_sdk.html\" %}\r\n{% include \"instagram_feed.html\" %}\r\n{% endblock %}\r\n\r\n{% block main_content %}\r\n...\r\n<div id=\"instafeed\"></div>\r\n...\r\n{% endblock %}\r\n```\r\nwhere the block social_sdk is just after the <body> tag in base.html. Both facebook_sdk.html and twitter_sdk.html contain JavaScript under a <script> tag and both work.\r\n\r\nSee http://ec2-54-77-118-44.eu-west-1.compute.amazonaws.com:5000/ for the test page.\r\nDo I do anything wrong, or is there any django setting I should change? Remember that it works on codepen.io.\r\n\r\nThanks"}}