Pomax / node-flickrapi

A node.js (and client-library) implementation of the Flickr API with oauth API key authentication and API method proxying

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Script does not exit

neojski opened this issue · comments

Flickr.authenticate for some reason never exits.

commented

That... is true, and seems to be true for a lot of versions now. Marking as bug, let's see what's up with that.

I see this problem too. So was anyone able to authenticate a user completely without having the user have to copy and paste the flickr access token into another window?

commented

That's a completely different issue. If you use the callback URL solution then no one need to copy-paste anything, if you use the oob solution, then you'll need to copy and paste. See the README and the test.js example code with minimal callback server.

I am experimenting the same problem.

We are loading constantly images and it creates a memory leak because every authenticate takes a node and never closes it. Even if a do only one authenticate, it eventually breaks the code.

commented

@dvdgrdll then please file a new issue so I can look at that. This issue is about authenticate() never returning. If you also have any code that you can add into that new issue, that would be super helpful for debugging. I am closing this issue and making a new one for the authenticate problem, so people stop posting about completely different issues in it.