Skip to content
Fetch recent Instagram photos for a user.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
.editorconfig
.gitattributes
.gitignore
.npmignore
.travis.yml
get-photos.js
index.js
license
package-lock.json
package.json
readme.md
response.json

readme.md

Instagram Plugin Build Status codecov

Add recent photos to JS Personal API

Install

$ npm install --save @personal-api/plugin-instagram

Usage

Call apply() with your Express app object to apply.

import InstagramPlugin from '@personal-api/plugin-instagram';

export default (app) => {
  const Instagram = new InstagramPlugin({
    accessToken: process.env.INSTAGRAM_ACCESS_TOKEN,
    userId: process.env.INSTAGRAM_USER_ID,
    count: 2,
  });

  Instagram.apply(app);
};

License

MIT © Chris Vogt

You can’t perform that action at this time.