Jump to content
McKay Development

Recommended Posts

Posted (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 by TextDynasty
Posted

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 :
Posted (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 by TextDynasty

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...