Skip to content
Lasse Støjier Pedersen edited this page Aug 21, 2022 · 2 revisions

Review

This section will specify how to be using Review part of Steam.

Add review

info
module Name Game Recommend Add
module file name GameRecommend_Add.js

In the module you will find a list list.

You have to add a object whit propperty

Name Type Description
appid string The appid for the game, to make a review for.
message string The message that is add the review

Example:

var list = [
    {
        appid: 730,
        message: "Great game!"
    },
    {
        appid: 550,
        message: "way to maby bots!"
    }
]

the above, will add a review for csgo and tf2. whit the message to it.

Remove review

info
module Name Game Recommend Remove
module file name GameRecommend_Remove.js

In the module you will find a list list, here you must assin all the appid's that you what to have removed the review from Example:

var list = [730, 550];

the above, will remove a review for csgo and tf2.

Rate

To rate up or down on the guide, you have to use the module Shared File Vote Like Share

info
module Name Evaluating Game Review
module file name EvaluatingGameReview.js

In the module you will find a EvaluatingList. You have to add a object, for each review you what to Rate.

You have to add a object whit propperty

Name Type Description
ID int The id the Review. read under this, how to retrieve the ID
EvaluteType enum set to EvaluteTypes.Yes, EvaluteTypes.No, EvaluteTypes.Funny or EvaluteTypes.RemoveVote

to find the id, go to the page where you can rate the game view, right click on one of the 3 buttons ("Yes", "No", "Funny") and open dev tool on it. in the devtool you will see somfing like : <span onclick="UserReviewVoteTag( 1, 'https://steamcommunity.com/login/home/?goto=xxxxxxx', '46049008', 1, 'RecommendationVoteTagBtn46049008_1' );" class="..." id="RecommendationVoteTagBtn46049008_1"> Here you can see the id "46049008". then just place that in the "ID" field like, under here.

Example:

var EvaluatingList = [
    {ID: 80019466, EvaluteType: EvaluteTypes.Yes }, //https://steamcommunity.com/id/quer_the_gamer/recommended/1172620/ 
    {ID: 46049008, EvaluteType: EvaluteTypes.Funny }, //https://steamcommunity.com/id/quer_the_gamer/recommended/275850/
    //{ID: 105055236, EvaluteType: EvaluteTypes.No },
    //{ID: 105055236, EvaluteType: EvaluteTypes.RemoveVote }
];

This will rate up the 2 review, one whit yes, and other whit Funny. the last 2 rows is in the example, will vote no. and the last of them, will remove the vote overall from the review.

Give Awared/Rewards

Section comming soon.

Comment

To comment on a guide, you have to use the module Shared File Comment

info
module Name SharedFile_Comment
module file name SharedFile_Comment.js

In the module you will find a SharedFileToComment. You have to add a object, for each comment you want to add.

You have to add a object whit propperty

Name Type Description
sharedId string The id for the guide, it shoud be in the url
ownerSteamID string The steamid 64 of the guide creator ( might be found whit jQuery(".commentthread_area").attr("id").split("_")[3] in the console on the guide )
appid int The app that the guide is for, ( can be found whit jQuery("#PublishedFileFavorite").find("input[name=appid]").val() in the console on the guide )
message string The comment to add

Note All the proppertys must be set. Example:

var SharedFileToComment = [
    // next list is a example of how a comment can look ( all 4 must be set. )
    {
        sharedId: "923012519",
        ownerSteamID: "76561197990233572",
        appid: 753,
        message: "Nice work"
    },
    ...
]

This will add the comment Nice work, to the guide https://steamcommunity.com/sharedfiles/filedetails/?id=923012519

Clone this wiki locally