Skip to content
No description, website, or topics provided.
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.
public
views
.gitignore
README.md
index.js
package-lock.json
package.json

README.md

Express Instagram API App

A minimal node/express web application with instagram auth and api example.

Live demo: https://mfyz-express-ig-api.herokuapp.com

Set up

Create .env file and set up instagram application in developer page. Then add your app id and secret in .env file:

IG_CLIENT_ID=903dd1............968e431
IG_CLIENT_SECRET=400b5f...............3f1c7749b9
IG_REDIRECT_URI=https://my-ig-app.herokuapp.com/instagram/callback

Then install dependencies and run the application:

npm install
mode index.js

To deploy on heroku

  1. heroku login
  2. heroku create
  3. git push heroku master

To set up env variables on heroku:

  1. heroku config:set IG_CLIENT_ID='...'
  2. heroku config:set IG_CLIENT_SECRET='...'
  3. heroku config:set IG_REDIRECT_URI='...'
You can’t perform that action at this time.