instafeedjs 不打印屏幕图文

instafeedjs doesn't print the screen pictures and texts

我一直在用instagramjavascript发送javascript但是它不打印屏幕图文我代码和例子一样

<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>

演示站点:https://www.ahmetozalp.net

您没有在 Instafeed 模板中设置任何占位符,例如 {{link}}{{image}}。它应该像这样工作:

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();