Jump to content


Photo

A question about users.js

node.js node-steamcommunity

  • Please log in to reply
7 replies to this topic

#1 Cubson

Cubson

    Member

  • Member
  • PipPip
  • 11 posts
  • LocationUzbekistan, Tashkent

Posted 15 August 2018 - 04:36 AM

"uri": "https://steamcommunity.com/comment/Profile/post/" + userID.toString() + "/-1",
"form": {
	"comment": message,
	"count": 6,
	"sessionid": this.getSessionID()
},

What's -1 in the end of the URI and what's "count" param?



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 1,787 posts

Posted 16 August 2018 - 12:26 PM

My best guess is that it indicates that you want to post to a profile, not to a forum thread.



#3 Cubson

Cubson

    Member

  • Member
  • PipPip
  • 11 posts
  • LocationUzbekistan, Tashkent

Posted 18 August 2018 - 12:23 PM

My best guess is that it indicates that you want to post to a profile, not to a forum thread.

So you think both /-1 and the count param are responsible for the same thing?


Edited by Cubson, 18 August 2018 - 12:23 PM.


#4 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 1,787 posts

Posted 18 August 2018 - 02:03 PM

No.



#5 Royalgamer06

Royalgamer06

    Advanced Member

  • Member
  • PipPipPip
  • 87 posts

Posted 30 August 2018 - 05:13 PM

Yeah, I've wondered this myself too. Have you tried changing the count parameter?



#6 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 1,787 posts

Posted 30 August 2018 - 05:52 PM

The count parameter is how many comments to return in the response. You could probably change it and it would work.



#7 Cubson

Cubson

    Member

  • Member
  • PipPip
  • 11 posts
  • LocationUzbekistan, Tashkent

Posted 31 August 2018 - 02:21 AM

The count parameter is how many comments to return in the response. You could probably change it and it would work.

Oh, so it's about the new comments that appear after you send yours?



#8 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 1,787 posts

Posted 31 August 2018 - 11:10 AM

Yes.







Also tagged with one or more of these keywords: node.js, node-steamcommunity

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users