internet-research-labs / instagram-realtime

Event-based, object-oriented Instagram API for NodeJS. This is *not* a wrapper. Rather, it is a minimal-setup, trigger-based NodeJS object, that handles push notifications from the Instagram API. How does it do this? Middleware. This package is so sick, and removes the stress from asynchronously programming via cURL. Duh.
MIT License
20 stars 9 forks source link

Simplify options #13

Open whatever opened 10 years ago

whatever commented 10 years ago

We should be able to build an instagram-stream from the following code snippet:

var app = require('express')();

var opts = {
  "client_id" : "0000000000000000000",
  "client_secret" : "1111111111111111",
  "website_url" : "http://instagram-site.web",
  "redirect_uri" : "http://instagram-site.web/redirect",
  "callback_url" : "http://instagram-site.web/callback"
};

var stream = InstagramStream(app, opts);

With correct credentials.

whatever commented 10 years ago

This is related to Issue #5