Closed bradvogel closed 10 years ago
Sound's good! I'm going to integrate it today and release over npm
or if in real quick, could you please submit the pull request?
Ok, I can do this now. Is it OK to just add at it to init()?
var linkedin = Linkedin.init('my_access_token', {timeout: 30000});
Accepting pull request! :) Didn't thoroughly took a look in good even!
It would be nice to specify a global timeout option that gets used in the request() call to LinkedIn. I find that the LinkedIn API has hiccups and won't respond sometimes. The library should at least use a sensible default of 60 seconds.