mikefowler / instajam

Instajam is a JavaScript wrapper for the Instagram API. You provide the access token, we provide the jam. Or whatever.
http://mikefowler.github.io/instajam
MIT License
132 stars 33 forks source link

Adding support for external authentication / access token generation #13

Closed kevinterrobang closed 9 years ago

kevinterrobang commented 9 years ago

I am using passport (node authentication middleware) for my user authentication with an additional Instagram authentication module. As this means I'm managing the authentication and access token externally, I wanted a way to initialize Instajam with an existing token and just use the functional endpoints.

mikefowler commented 9 years ago

Seems legit, @kevinterrobang. If you could address the one comment above I'll merge this.

kevinterrobang commented 9 years ago

How did that get there?! Removed the stray newline from the source and from the non-minified distribution file.

mikefowler commented 9 years ago

Thanks!