Jump to content
McKay Development

getSteamUser and SteamID64 string


Recommended Posts

"id parameter should be a user URL string or a SteamID object"
"id - Either a SteamID object or a user's URL (the part after /id/)"


When trying to use:

community.getSteamUser("76561198274802037", (error, user) => {
    if (error) {
    } else {

I get an error: "The specified profile could not be found."

Everything is good when using:  new SteamID("76561198274802037")

My mistake, sorry, everything is fine. I was sure it was about SteamID64 but here you need a custom url part.

Link to comment
Share on other sites

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.

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.

  • Create New...