Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Scratch Message Count
- Turtsles
-
58 posts
Scratch Message Count
To view the message count using ScratchAPI you go here.
https://api.scratch.mit.edu/users/Turtsles/messages/count/
But using getrequest or scratchclient in python it resuts as 0 messages no matter what, why is this?
https://api.scratch.mit.edu/users/Turtsles/messages/count/
But using getrequest or scratchclient in python it resuts as 0 messages no matter what, why is this?
- dhuls
-
1000+ posts
Scratch Message Count
Because someone was spamming this endpoint, scripts are now blocked from using it.
Last edited by dhuls (Jan. 16, 2022 18:36:50)
- SansStudios
-
1000+ posts
Scratch Message Count
Because someone was spamming this endpoint, scripts are now blocked from using it.
Woah really? Is there a source post I can get?
- Chiroyce
-
1000+ posts
Scratch Message Count
deleted, sadly. I think it was because the person who made the topic also gave directions on how to avoid the block. Woah really? Is there a source post I can get?
related: https://scratch.mit.edu/discuss/post/5528026, https://scratch.mit.edu/discuss/post/5527647
Last edited by Chiroyce (Jan. 17, 2022 03:06:21)
- SansStudios
-
1000+ posts
Scratch Message Count
deleted, sadly. I think it was because the person who made the topic also gave directions on how to avoid the block.
related: https://scratch.mit.edu/discuss/post/5528026, https://scratch.mit.edu/discuss/post/5527647
Thanks for the topics

I really don't understand why people need to spam the API for their cloud projects. It's not hard to use call-response in projects (the cloud servers are websockets

Last edited by SansStudios (Jan. 17, 2022 03:24:55)
- Chiroyce
-
1000+ posts
Scratch Message Count
need to spam the API for their cloud projects. It's not hard to use call-response in projects (the cloud servers are websockets :rolleyes ). Oh well.It's for live messag counts, so the project updates automatically, for that they'll have to get the count every 3-5 seconds or so, some even used sub-zero delays, which means around 10 requests a second I really don't understand why people

- helloworldbyeworld
-
1000+ posts
Scratch Message Count
And they say you shouldn't make that many requests.need to spam the API for their cloud projects. It's not hard to use call-response in projects (the cloud servers are websockets :rolleyes ). Oh well.It's for live messag counts, so the project updates automatically, for that they'll have to get the count every 3-5 seconds or so, some even used sub-zero delays, which means around 10 requests a second I really don't understand why people

- Sid72020123
-
500+ posts
Scratch Message Count
You can still get the real messages count. The messages count endpoint needs some headers (eg. user-agent) for it to give the messages count. This messages count feature works in ScratchConnect but not in ScratchClient because it's owner has not updated that library. To view the message count using ScratchAPI you go here.
https://api.scratch.mit.edu/users/Turtsles/messages/count/
But using getrequest or scratchclient in python it resuts as 0 messages no matter what, why is this?
- ajsya
-
1000+ posts
Scratch Message Count
ScratchConnect plug? lolYou can still get the real messages count. The messages count endpoint needs some headers (eg. user-agent) for it to give the messages count. This messages count feature works in ScratchConnect but not in ScratchClient because it's owner has not updated that library. To view the message count using ScratchAPI you go here.
https://api.scratch.mit.edu/users/Turtsles/messages/count/
But using getrequest or scratchclient in python it resuts as 0 messages no matter what, why is this?
- Sid72020123
-
500+ posts
Scratch Message Count
LOLScratchConnect plug? lolYou can still get the real messages count. The messages count endpoint needs some headers (eg. user-agent) for it to give the messages count. This messages count feature works in ScratchConnect but not in ScratchClient because it's owner has not updated that library. To view the message count using ScratchAPI you go here.
https://api.scratch.mit.edu/users/Turtsles/messages/count/
But using getrequest or scratchclient in python it resuts as 0 messages no matter what, why is this?
- beanyboy512
-
500+ posts
Scratch Message Count
i checked gdpr0000001's account (the glitched one) and they have 0 messages
- Discussion Forums
- » Advanced Topics
-
» Scratch Message Count