Open BittBurger opened 3 years ago
I've only been looking into this repo for a few minutes (mainly because I am frustrated that it's not working).
I'm having the same issue where not all comments are deleted when the plugin is run.
The API to list user comments (/user/username/comments) has a default limit of 25. From what I can tell, this API is called 15 times (each sorting in various ways). The maximum number of comments that can be deleted is 375; however, not all API requests will contain results - EG: "sort=top&t=day" when a user has not posted in the last 24 hours will result in zero results.
I need to do some more research, but the first immediate resolution I can see is to increase the LIMIT parameter on the API request, this way the maximum theoretical number of comments that can be deleted would be 1,500.
That being said, I'm not sure exactly why the plugin makes multiple requests with different sort parameters. It might be best to simply have a loop that retrieves the comments from /user/username/comments, and deletes those results until the result from the API is less than 100 comments.
Just to add this doesn't delete any posts or comments for me on chrome
Same problem others report. Comments don't all delete. It also seems to be moving painfully slow. If the display is any indication, its deleting and replacing one comment every 3-4 seconds. At that rate it would take eons to delete my 6 years of history. In any case I saw you ask about console errors. I have no idea what im doing in console but I see this popping up repeatedly:
Error: Request failed with status code 403 at e.exports (createError.js:16) at e.exports (settle.js:17) at XMLHttpRequest.d.onreadystatechange (xhr.js:59)
I don't have any extensions that should be conflicting. It eventually says it finishes and ive run the thing at least 10 times. It runs for 15-20 minutes again, says its finished, and its not.