TextDynasty Posted December 29, 2017 Report Posted December 29, 2017 (edited) What is the group steam id in the inviteToGroup https://github.com/DoctorMcKay/node-steam-user#invitetogroupusersteamid-groupsteamid There is two ID, the 64 ones and the id obtain by steam group edit page. What should i put in there?? EDIT 1: Also is there a way to get the profile name of someone using steamID? Edited December 29, 2017 by TextDynasty Quote
Dr. McKay Posted December 30, 2017 Report Posted December 30, 2017 You can use either the 64-bit one or the ID in the edit page, if you put the edit page ID into this formula: [g:1:id] For example [g:1:4] -> https://steamcommunity.com/gid/[g:1:4] Quote
TextDynasty Posted December 31, 2017 Author Report Posted December 31, 2017 You can use either the 64-bit one or the ID in the edit page, if you put the edit page ID into this formula: [g:1:id] For example [g:1:4] -> https://steamcommunity.com/gid/[g:1:4] Hmm I followed that but this error happens client.inviteToGroup(steamID, [g:1:26823824]); Unexpected token : Quote
Dr. McKay Posted December 31, 2017 Report Posted December 31, 2017 You need quotes around it. It's a string. Quote
TextDynasty Posted December 31, 2017 Author Report Posted December 31, 2017 (edited) You need quotes around it. It's a string.Quote the whole thing like this give error Unknown SteamID input format "g:1:26823824" client.inviteToGroup(steamID, ["g:1:26823824"]);And Quote the id like this client.inviteToGroup(steamID, [g:1:"26823824"]); doesnt work too Edited December 31, 2017 by TextDynasty Quote
TextDynasty Posted December 31, 2017 Author Report Posted December 31, 2017 Thanks, also is there a way to get the profile name of someone using steamID? Quote
Dr. McKay Posted December 31, 2017 Report Posted December 31, 2017 https://lab.xpaw.me/steam_api_documentation.html#ISteamUser_GetPlayerSummaries_v2 Quote
TextDynasty Posted December 31, 2017 Author Report Posted December 31, 2017 https://lab.xpaw.me/steam_api_documentation.html#ISteamUser_GetPlayerSummaries_v2 Sorry i don't understand how to use it. Is there any examples in Github or somewhere? Quote
Vanilla Posted January 1, 2018 Report Posted January 1, 2018 (edited) Sorry i don't understand how to use it. Is there any examples in Github or somewhere? https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v2/?key=YOUR_API_KEY&steamids=STEAM64ID result are in JSON format Edited January 1, 2018 by Vanilla Quote
SpiTik Posted January 5, 2018 Report Posted January 5, 2018 client.inviteToGroup("userID", GroupID); 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.