Hide And Report Profile Comment - Revadike/InternalSteamWebAPI GitHub Wiki

POST /comment/Profile/hideandreport/:steamid

Hides and/or reports a comment on a user's profile.

Rate limits

No known rate limit

Request

Authenticated: Yes

Method: POST

Host: steamcommunity.com

Path: /comment/Profile/hideandreport/:steamid

Variables:

Name Type Description
:steamid string The 64-bit SteamID of the user whose profile the comment is on

Form Data:

Name Type Required Description
gidcomment string Yes The 64-bit ID of the comment
hide number No When 1, hides the comment from view
sessionid string Yes The value of the sessionid cookie
start number No The starting offset (page position)
count number No The number of comments per page (page size)
feature2 number No The secondary feature ID. -1 for profile comments.

Response

200 OK

Name Type Description
success boolean Whether the request was successful. false when the comment does not exist or the user is not logged in.
error string The error message. Only when the request failed.
comments_html string HTML of the comments, re-rendered. Only on success.
total_count number The total number of comments. Only on success.
pagesize number The page size. Only on success.
start number The starting offset. Only on success.

Example

POST https://steamcommunity.com/comment/Profile/hideandreport/76561198786103331/ { gidcomment: "0", hide: 1, sessionid: "a0b1c2d3e4f5g6h7i8j9klmn", count: 6, feature2: -1 }
{
    "success": false
}