crosvegan.blogg.se

Instafeed js height
Instafeed js height




instafeed js height

links - Wrap the images with a link to the photo on Instagram.least-commented - Lowest # of comments to highest.most-commented - Highest # of comments to lowest.least-liked - Lowest # likes to highest.most-liked - Highest # of likes to lowest.none (default) - As they come from Instagram.sortBy (string) - Sort the images in a set order.userId (number) - Unique id of a user to get.locationId (number) - Unique id of a location to get.tagName (string) - Name of the tag to get.popular (default) - Images from the popular page.get - Customize what Instafeed fetches.template - Custom HTML template to use for images.target - Either the ID name or the DOM element itself where you want to add the images to.If you need help with that step, just try Googling "How to get an Instagram client ID". You can easily register for one on Instagram's website. The only thing you'll need to get going is a valid client id from Instagram's API. Also check out the advanced options for some advanced ways of customizing Instafeed. Of course, you can easily change this behavior using standard options. Instafeed with automatically look for a and fill it with linked thumbnails. Here's how easy it is to get all images tagged with #awesome:

Instafeed js height install#

Instafeed is available on NPM: npm install instafeed.es6 # npm Basic Usage Setting up Instafeed is pretty straight-forward. The platform API will be turned off completely in 2020, which means that instafeed in its current form will stop working then.įor more information on the current limitations of the API, please see the following: retrieving all public images with a particular hashtag, finding posts based on a location, etc). embedding a single user's feed on a web page), but can't work for more complex uses (eg. As of now, instafeed works for some common uses (eg. :warning: IMPORTANT! Instagram is changing the API that Instafeed depends on.īefore you decide to use instafeed, be aware that Instagram is shutting down the API platform that enables instafeed to work. This is a continuation and a remake of Steven Schobert's original instafeed.js in order to provide ES6 support. No jQuery required, just good 'ol plain javascript. Instafeed is a dead-simple way to add Instagram photos to your website.






Instafeed js height