mckelvey / instagram-node-lib

The Instagram Node Lib is a helper library for node that makes communicating with the Instagram API easy.
http://david.mckelveycreative.com/
Other
303 stars 49 forks source link

Removing empty 200 header from oauth ask_for_access_token #1

Closed andflett closed 13 years ago

andflett commented 13 years ago

It would be useful if headers were not sent at this point, so we could send them ourselves in the complete callback.

p.s. Thank you for such an awesome library.

mckelvey commented 13 years ago

Thanks Andrew — this is always something I meant to do (provide more control here). I'll merge this in shortly. :)

mckelvey commented 13 years ago

Andrew — I’ve merged the commit, and am expanding on it to provide a function for responding to the IG receipt of the redirect (step 2 from http://instagram.com/developer/auth/) and then having the complete function handle the access_token response (step 3 from http://instagram.com/developer/auth/), which is the same as before. I think this will get you the control you wanted. Let me know if not.

D