{"action":"created","issue":{"url":"https://api.github.com/repos/pavelk2/social-feed/issues/264","repository_url":"https://api.github.com/repos/pavelk2/social-feed","labels_url":"https://api.github.com/repos/pavelk2/social-feed/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/pavelk2/social-feed/issues/264/comments","events_url":"https://api.github.com/repos/pavelk2/social-feed/issues/264/events","html_url":"https://github.com/pavelk2/social-feed/issues/264","id":237298171,"number":264,"title":"Cannot pull from instagram","user":{"login":"BearBritches","id":7284075,"avatar_url":"https://avatars3.githubusercontent.com/u/7284075?v=4","gravatar_id":"","url":"https://api.github.com/users/BearBritches","html_url":"https://github.com/BearBritches","followers_url":"https://api.github.com/users/BearBritches/followers","following_url":"https://api.github.com/users/BearBritches/following{/other_user}","gists_url":"https://api.github.com/users/BearBritches/gists{/gist_id}","starred_url":"https://api.github.com/users/BearBritches/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BearBritches/subscriptions","organizations_url":"https://api.github.com/users/BearBritches/orgs","repos_url":"https://api.github.com/users/BearBritches/repos","events_url":"https://api.github.com/users/BearBritches/events{/privacy}","received_events_url":"https://api.github.com/users/BearBritches/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-06-20T18:10:12Z","updated_at":"2017-10-09T10:06:13Z","closed_at":null,"author_association":"NONE","body":"I wanted to know if anyone had any thoughts as to why I cannot get the instagram feed to work?\r\n\r\n\r\n    $(document).ready(function(){\r\n        $('.social-feed-container').socialfeed({\r\n\t\tfacebook:{\r\n        accounts: ['@marybaldwinuniversity', '@MaryBaldwinCollegeAlumniAssociation', '@mbusap', '@mbudining', '@graftonlibrary', '@marybaldwinadmissions'],  //Array: Specify a list of accounts from which to pull wall posts\r\n        limit: 1,                                   //Integer: max number of posts to load\r\n        access_token: 'xxx'  //String: \"APP_ID|APP_SECRET\"\r\n    },\t\r\n\t\tinstagram:{\r\n        accounts: ['bear_britches', 'marybaldwinuniversity'],  //Array: Specify a list of accounts from which to pull posts\r\n        limit: 1,                                   //Integer: max number of posts to load\r\n        client_id: 'xxx',       //String: Instagram client id (option if using access token)\r\n        access_token: 'xxx' //String: Instagram access token\r\n    },\r\n    \ttwitter:{\r\n        accounts: ['@marybaldwinu', '#marybaldwin', '@MBU_Squirrels'],                     //Array: Specify a list of accounts from which to pull tweets\r\n        limit: 1,                                   //Integer: max number of tweets to load\r\n        consumer_key: 'xxx',          //String: consumer key. make sure to have your app read-only\r\n        consumer_secret: 'xxx' //String: consumer secret key. make sure to have your app read-only\r\n     },\r\n            // GENERAL SETTINGS\r\ntemplate: \"/wp-content/themes/MBU2018/bower_components/social-feed/template.html\",  \r\nshow_media:true,            \r\nlength:400                                 //Integer: For posts with text longer than this length, show an ellipsis.\r\n        });\r\n    });"},"comment":{"url":"https://api.github.com/repos/pavelk2/social-feed/issues/comments/335114949","html_url":"https://github.com/pavelk2/social-feed/issues/264#issuecomment-335114949","issue_url":"https://api.github.com/repos/pavelk2/social-feed/issues/264","id":335114949,"user":{"login":"campsjos","id":1260191,"avatar_url":"https://avatars0.githubusercontent.com/u/1260191?v=4","gravatar_id":"","url":"https://api.github.com/users/campsjos","html_url":"https://github.com/campsjos","followers_url":"https://api.github.com/users/campsjos/followers","following_url":"https://api.github.com/users/campsjos/following{/other_user}","gists_url":"https://api.github.com/users/campsjos/gists{/gist_id}","starred_url":"https://api.github.com/users/campsjos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campsjos/subscriptions","organizations_url":"https://api.github.com/users/campsjos/orgs","repos_url":"https://api.github.com/users/campsjos/repos","events_url":"https://api.github.com/users/campsjos/events{/privacy}","received_events_url":"https://api.github.com/users/campsjos/received_events","type":"User","site_admin":false},"created_at":"2017-10-09T10:06:13Z","updated_at":"2017-10-09T10:06:13Z","author_association":"NONE","body":"@joaovpmamede i had the same issue. The solution is setting the scope in public_content when requesting the access token: https://www.instagram.com/oauth/authorize/?client_id=CLIENTID&redirect_uri=REDIRECT-URI&response_type=token&scope=basic+public_content"}}
{"actor":{"display_login":"campsjos"}}