YouTube Data API "markAsSpam" method has been deprecated #1133
mattsblack
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I looked into how the comments were being reported and saw this method:
in scripts/operations.py:
if deletionMode == "reportSpam":
result = auth.YOUTUBE.comments().markAsSpam(id=commentIDs).execute()
if len(result) > 0:
print("\nSomething may have gone wrong when reporting the comments.")
failedComments += commentIDs
I checked the API reference and found that the "markAsSpam" method has been deprecated. Would this have any effect on the spam reporting if you are reporting a channel that is not yours? I'm still able to report comments. The program works fine with no error messages (on the latest beta version 2.18.0 beta 3), so I'm not sure if this makes a difference. Maybe they deprecated it because of so many people using this tool? Not sure if there is a way to test if this actually reports a comment as spam.
Beta Was this translation helpful? Give feedback.
All reactions