Skip to content

janrabcan/insta-feed-widget

Repository files navigation

Instagram User Media Feed Widget

Instagram User Media Feed Widget using React.js.

Usage

Import library for example from JSDelivr CDN.

<script async src="https://cdn.jsdelivr.net/gh/Hellsos/insta-feed-widget/dist/bundle.min.js"></script>

Then call InstaFeedWidget function in window.

Options

  • api: string : API Endpoint providing JSON Instagram User Media. Or using existing Instagram User Media API project Link.
  • target: HTMLELement: HTML Element which will be widget rendered into.
  • limit?: number: Amount of Media Items in view. Default is 9.

Example Execution

InstaFeedWidget({
    api : 'https://YOUR_DOMAIN/api/ig/user/YOUR_IG_USER_ID',
    target : document.getElementById( 'render-widget' )
} );

About

Simple Instagram User-media widget using React.js.

Resources

License

Stars

Watchers

Forks

Packages

No packages published