venfiw Posted April 7 Report Posted April 7 (edited) i am trying to use apikey to check friends list, when people send me check on steam messagebox but i today i find my checklink and find apikey is null but it works before i find the answer at here :That's the point. Enabling useAccessToken disable fetching an API key. Edited April 7 by venfiw Quote
TheMaster Posted April 8 Report Posted April 8 (edited) 11 hours ago, venfiw said: i am trying to use apikey to check friends list, when people send me check on steam messagebox but i today i find my checklink and find apikey is null but it works before i find the answer at here :That's the point. Enabling useAccessToken disable fetching an API key. just use the getwebapi method in other libraries like node steam community async function getWebApiKey() { return new Promise((resolve, reject) => { community.getWebApiKey((err, key) => { if (err) { reject(err); } else { webapi=key console.log(green,"Got API key: " + webapi); resolve(key); } }); }); } Edited April 8 by TheMaster added code Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.