Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Scratch Message Count
- Turtsles
- Scratcher
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?
when green flag clicked
say [Kumquats are nice] for (2) secs
They don't eat signatures! Just relaxxxx
or maybe they will destroy all of scratch >
- dhuls
- Scratcher
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
- Scratcher
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?
☁️ scratchcloud ☁️
Click above to check it out! I've worked on it for over a year!
Just like sudden sadness comes hangin' on the breeze
- Chiroyce
- Scratcher
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)
April Fools' topics:
— New Buildings in Scratch's headquarters
— Give every Scratcher an M1 MacBook Air
— Scratch should let users edit other Scratchers' projects
— Make a statue for Jeffalo
— Scratch Tech Tips™
— Make a Chiroyce statue emoji
<img src=“x” onerror=“alert('XSS vulnerability discovered')”>
this is a test sentence
- SansStudios
- Scratcher
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 ). Oh well.
Last edited by SansStudios (Jan. 17, 2022 03:24:55)
☁️ scratchcloud ☁️
Click above to check it out! I've worked on it for over a year!
Just like sudden sadness comes hangin' on the breeze
- Chiroyce
- Scratcher
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
April Fools' topics:
— New Buildings in Scratch's headquarters
— Give every Scratcher an M1 MacBook Air
— Scratch should let users edit other Scratchers' projects
— Make a statue for Jeffalo
— Scratch Tech Tips™
— Make a Chiroyce statue emoji
<img src=“x” onerror=“alert('XSS vulnerability discovered')”>
this is a test sentence
- helloworldbyeworld
- Scratcher
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
Helloworldbyeworld | 1200+ posts
Have a great day
- Sid72020123
- Scratcher
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?
Hello!
- ajsya
- Scratcher
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
- Scratcher
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?
Hello!
- Discussion Forums
- » Advanced Topics
- » Scratch Message Count