Skip to content

Instantly share code, notes, and snippets.

@Bjornhall
Created March 11, 2016 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Bjornhall/25b52b349c29c59b0077 to your computer and use it in GitHub Desktop.
Save Bjornhall/25b52b349c29c59b0077 to your computer and use it in GitHub Desktop.
<script>
var userFeed = new Instafeed({
get: 'user',
userId: 307343466,
clientId: '613f33321f014ea990960abba303efc8',
accessToken: '307343466.613f333.17cb526228c646ca9920c094f4d2d4c9',
resolution: 'low_resolution',
template: '<a href="{{link}}"><img src="{{image}}" /><span class="caption">{{caption}}</span><span class="likes">{{likes}}</span></a>',
limit: 3,
sortBy: 'most-liked'
});
userFeed.run();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment