instagram-node-lib icon indicating copy to clipboard operation
instagram-node-lib copied to clipboard

refactor to follow node async (error, result) api pattern?

Open stephenhandley opened this issue 11 years ago • 4 comments

for example Instagram.media.subscribe(options) would accept function(error, result) {...} as second argument etc. etc.

stephenhandley avatar Mar 25 '14 10:03 stephenhandley

@stephenhandley— I am considering rewriting the library to do just this, e.g. less a jQuery model of success/failure and more the node model that has since become prevalent.

mckelvey avatar Mar 26 '14 06:03 mckelvey

awesome, yeah that would great

stephenhandley avatar Mar 28 '14 01:03 stephenhandley

Yeah, unfortunately kinda unusable. Callbacks / promises / events please!

aj0strow avatar Jul 18 '14 10:07 aj0strow

:+1:

despairblue avatar Nov 06 '14 12:11 despairblue