InstaGet documentation version 2.0
instaGet.js is a pure JavaScript library to add Instagram pohoto to your website, You can display the photos of any Instagram user and the feed will be updated with the new photos in real time.
1 2 | < link rel = "stylesheet" href = "path/to/instaget.css" > < script src = "path/to/instaget.js" ></ script > |
1 | < div id = "instagram-feed" /> |
Call the JS library and customize it with available options, like this:
1 2 3 4 5 6 7 8 9 10 | <script> new instaGet( '#instagram-feed' , { token: 'your_access_token' , numcol: 3, info: true , width: '400px' , height: '400px' }); </script> |
1 2 3 4 5 6 7 | new instaGet( '#instagram-feed' , { username: 'your_access_token' , counter:9, numcol: 3, width: '400px' , height: '400px' , }); |
Option | Value Type | Default Value | Available Values | Description |
---|---|---|---|---|
token | String | "" | "" | Sets the ACCESS TOKEN of your account read this article to get the access token. |
info | Boolean | false | true, false | Show the profile's username. |
counter | Number | 10 | 0, 1,2,3, ... | Sets the number of images to load. |
numcol | Number | 3 | 1,2,3, ... 8 | Sets the number columns in the feed. |
width | Sting | "100%" | height on 'px' or '%' | Sets the width of showcase. |
height | String | "" | height on 'px' or '%' | Sets the height of showcase |
Once again, thank you so much for purchasing this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this JS library.
1 2 3 4 5 6 7 8 9 10 | ----------------------------------------------------------------------------------------- Version 2.0.0 - 05 April 2020 ----------------------------------------------------------------------------------------- - after Instagram make changes on its platform we re-write our plugin to still working well with the new API. ----------------------------------------------------------------------------------------- Version 1.0.0 - 05 April 2020 ----------------------------------------------------------------------------------------- - initial release |