3urobeat / steam-mass-comment-bot

💬 Easily comment under a ton of steam profiles, groups, sharedfiles & discussions with one account!
GNU General Public License v3.0
62 stars 3 forks source link

Add support for handling family view #20

Open ultninjaF opened 1 month ago

ultninjaF commented 1 month ago

output.txt WindowsTerminal_jDiJxpOq1R

ultninjaF commented 1 month ago

Hello?

3urobeat commented 1 month ago

Hey, sorry, I am busy with other projects and have not found time to try and replicate this issue.

A HTTP 403 error means Forbidden, aka Steam rejected the request because you aren't allowed to comment.
Can you comment with that account on that profile manually?

If yes, then this might be caused by an outdated library the project uses (which I haven't updated in some time).
If no, then this is account related (although Steam usually returns text errors and not HTTP errors).

ultninjaF commented 1 month ago

Yes, manually I can comment on that links I want to. So I need wait an upgrade the project by you?

3urobeat commented 1 month ago

I guess so. I'll check it out in a moment, hopefully I can reproduce the issue.

3urobeat commented 1 month ago

I sadly cannot reproduce the error. Commenting works fine for my (limited) test account, commenting on a profile of a friend.
I'm going to update the dependencies anyway, maybe that helps.
I'm not exactly sure what issue you might be running into.

Edit:
I have updated the dependencies. They weren't that old (2 minor versions), so I doubt this will change anything.
I'm honestly not sure. This could be a networking issue as well, it is nearly impossible to tell from such little information.
Steam usually returns text errors, not HTTP errors.

ultninjaF commented 1 month ago

Where I can get updated version?

3urobeat commented 1 month ago

From this repo, just download the project again.
You can copy over package.json & package-lock.json to your existing installation and run npm install again, those are the only two files that have changed.

ultninjaF commented 1 month ago

Nothing has been changed T.T I will wait you to fix the bug, if it will can be

3urobeat commented 1 month ago

Can you try deleting the tokens.db file, located in the src folder?
When starting, the bot will ask for your Steam Guard Code again. Maybe the session is invalid or something related to that (although the login should fail altogether if that would be the case)

ultninjaF commented 1 month ago

I've found what the issue is. Bot cannot avoid family view. Started to work when I turned it off. Can you add plugin that can work with family view?

ultninjaF commented 1 month ago

At least add something like login secure where need to write family view token from cookies

3urobeat commented 1 month ago

Oh, that's interesting! I have not yet worked with any of the family related features of Steam at all.
I have to see if/how I can interact with family view from the steam-user library