Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3481
  • Joined

  • Last visited

Contact Methods

  • Website URL
    https://www.doctormckay.com

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

14140 profile views
  1. That should work fine. Make sure your profile isn't private, I guess.
  2. Please show the code around where you're calling setPersona.
  3. You need to enable the useAccessToken option or trades containing CS2 items won't appear.
  4. steam-user doesn't do anything with API keys.
  5. You can just use ISteamUset/GetFriendList for that. Each friend has a unix time friend_since property.
  6. Yes, this is what refresh tokens are for.
  7. You're asking a few different questions, so let me clarify how Steam views "devices". The machine ID that's by default generated from your account name is sent in the logon message. To my knowledge, it isn't really used for anything except maybe family sharing. The "DESKTOP-xxxxxx" names you see on your authorized devices page are controlled by the machineName you supply to the logOn() method. If you don't provide one, then it's auto-generated as you see. A "new device" for purposes of trading is determined by the machine auth token. If you use a previously-issued machine auth token to log on, then you won't need to provide an email Steam Guard code and it'll be counted as a previously-authorized device for purposes of trading restrictions. Logging in with username + password is what generates a new entry in the authorized devices page. Saving and using a refresh token to login more than once is the same thing as checking the "remember me" box when you log into the Steam client; it's treated as the same session and thus isn't counted as a new device when you log in after the first time. You won't generate new entries on the authorized devices page by reusing a refresh token.
  8. steam-session can approve QR login attempts, but not standard password logins.
  9. Using the GetPlayerBans endpoint is going to be your best bet. There's no event for it.
  10. That all looks fine to me at a glance. I'd look into whether it's actually possible to set cookies the way you are in a fetch request in a browser extension; that may be blocked for some reason.
×
×
  • Create New...