
Froxz
-
Posts
3 -
Joined
-
Last visited
Reputation Activity
-
Froxz got a reaction from Jmopel in Set API KEY
Hi, thanks for reply, yes I ended up doing it directly:
user.on('webSession', function(sessionID, cookies) { console.log(data.login+': Got webSession'); manager.apiKey = data.api_key; manager.setCookies(cookies, function(err) {}); community.setCookies(cookies); }); Yes, I manually generate the API KEY (Because I use same KEY for LOGIN) just less request and hassle because I know the API KEY.
Thank you.