{"action":"created","issue":{"url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/242","labels_url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/242/comments","events_url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/242/events","html_url":"https://github.com/stevenschobert/instafeed.js/issues/242","id":60844936,"number":242,"title":"Option 'accessToken' is not needed when getting user feed","user":{"login":"samisiuvatti","id":5034487,"avatar_url":"https://avatars.githubusercontent.com/u/5034487?v=3","gravatar_id":"","url":"https://api.github.com/users/samisiuvatti","html_url":"https://github.com/samisiuvatti","followers_url":"https://api.github.com/users/samisiuvatti/followers","following_url":"https://api.github.com/users/samisiuvatti/following{/other_user}","gists_url":"https://api.github.com/users/samisiuvatti/gists{/gist_id}","starred_url":"https://api.github.com/users/samisiuvatti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samisiuvatti/subscriptions","organizations_url":"https://api.github.com/users/samisiuvatti/orgs","repos_url":"https://api.github.com/users/samisiuvatti/repos","events_url":"https://api.github.com/users/samisiuvatti/events{/privacy}","received_events_url":"https://api.github.com/users/samisiuvatti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-12T16:14:29Z","updated_at":"2015-06-04T06:59:29Z","closed_at":null,"body":"Instagram user's recent feed can be fetched without accessToken if clientId is provided, but your script throws an error if accessToken is not provided. I commented rows 225-227 and it works perfectly ( https://github.com/stevenschobert/instafeed.js/blob/master/instafeed.js ).\r\n\r\nhttps://api.instagram.com/v1/users/{user-id}/media/recent/?client_id=YOUR-CLIENT_ID"},"comment":{"url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/comments/108755883","html_url":"https://github.com/stevenschobert/instafeed.js/issues/242#issuecomment-108755883","issue_url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/242","id":108755883,"user":{"login":"knauso","id":3692870,"avatar_url":"https://avatars.githubusercontent.com/u/3692870?v=3","gravatar_id":"","url":"https://api.github.com/users/knauso","html_url":"https://github.com/knauso","followers_url":"https://api.github.com/users/knauso/followers","following_url":"https://api.github.com/users/knauso/following{/other_user}","gists_url":"https://api.github.com/users/knauso/gists{/gist_id}","starred_url":"https://api.github.com/users/knauso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knauso/subscriptions","organizations_url":"https://api.github.com/users/knauso/orgs","repos_url":"https://api.github.com/users/knauso/repos","events_url":"https://api.github.com/users/knauso/events{/privacy}","received_events_url":"https://api.github.com/users/knauso/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T06:59:29Z","updated_at":"2015-06-04T06:59:29Z","body":"It is still giving me Unexpected token\r\n\r\nI am initializing it like this, actually if I understand well, accessToken can be removed, but not working with or without it :\r\n\r\n<script type=\"text/javascript\">\r\n    var userFeed = new Instafeed({\r\n        get: 'user',\r\n        userId: '52861203',\r\n        accessToken: '7d93cc0.e101f4afc37a4ea1af9f7cd663ee5807'\r\n    });\r\n    userFeed.run();"}}