Jump to content
McKay Development
Cubson

A question about users.js

Recommended Posts

"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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
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...