I have been using instagram javascript sending javascript but it does not print the screen pictures and texts I code the same as the example.
<script type="text/javascript">
var userFeed = new Instafeed({
get: 'user',
userId: '2216402239',
clientId: '577953a9c38a4be890fb6f96326d60d0',
accessToken: '2216402239.577953a.5c12d84b7a784b5497f383a8e1daf4dc',
resolution: 'standard_resolution',
template: '<a href="{{link}}" target="_blank" id=""><img src="{{image}}" /></a>',
sortBy: 'most-recent',
limit: 6,
links: false
});
userFeed.run();
</script>
Demo site: https://www.ahmetozalp.net
You didn't set any placeholders like {{link}}
or {{image}}
in the Instafeed template. It should work like this:
var userFeed = new Instafeed({
get: 'user',
userId: '2216402239',
clientId: '577953a9c38a4be890fb6f96326d60d0',
accessToken: '2216402239.577953a.5c12d84b7a784b5497f383a8e1daf4dc',
resolution: 'standard_resolution',
template: '<a href="{{link}}" target="_blank" id=""><img src="{{image}}" /></a>',
sortBy: 'most-recent',
limit: 6,
links: false
});
userFeed.run();