Jump to content
McKay Development

How to get a steamID of a user


0x737368

Recommended Posts

There isn't currently a way to get incoming friend requests using node-steamcommunity. Is this something you need? If you're also using node-steam-user then you can get invites from there.

It's not something I strictly need but would be a nice thing to do. In node-steam-user, would that be the friendRelationship event?

Link to comment
Share on other sites

Correct.

Yeah, so I wrote this but it's giving me a HTTP 400 error, what could be the problem?

https://pastebin.com/y5XQUBvL (sorry, the text editor here collapses all my spacing, making the code unreadable)

 

The error happens after user.acceptFriendRequest

 

I'm certain that the user object is correct as user.name gives the correct nickname of the user, so it must be something with how I'm calling the method

 

Edit, nvm, there was a problem with how I was triggering the acceptFriendRequest

Edited by 0x737368
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.

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...