Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Can you post comments on a user's profile using the Scratch API?
- IronBill05
-
100+ posts
Can you post comments on a user's profile using the Scratch API?
I've been making a website that lets you view a user's profile and view their comments. I am trying to make it so that i can comment on a user's profile using the website, but i don't know much about the Scratch API. Can you help me?
- starlightsparker
-
1000+ posts
Can you post comments on a user's profile using the Scratch API?
I am unsure if it is possible—But regardless, I do not believe that is permissible as of Scratch’s rules, for social actions performed by bots are not allowed.
- han614698
-
1000+ posts
Can you post comments on a user's profile using the Scratch API?
Yes. It is a possible, though I don't really know how to do it.
(#2)This is not bots - this is the user initiating the comment, just from a different medium then their profile.
I am unsure if it is possible—But regardless, I do not believe that is permissible as of Scratch’s rules, for social actions performed by bots are not allowed.
- starlightsparker
-
1000+ posts
Can you post comments on a user's profile using the Scratch API?
I am still not certain if commenting via the API would fall under social actions performed by bots This is not bots - this is the user initiating the comment, just from a different medium then their profile.
- han614698
-
1000+ posts
Can you post comments on a user's profile using the Scratch API?
(#4)But there are no bots. You are making an API request from your account, similar to pressing post while on the studio page.I am still not certain if commenting via the API would fall under social actions performed by bots This is not bots - this is the user initiating the comment, just from a different medium then their profile.
- starlightsparker
-
1000+ posts
Can you post comments on a user's profile using the Scratch API?
Elaborate? similar to pressing post while on the studio page.
- Mryellowdoggy
-
1000+ posts
Can you post comments on a user's profile using the Scratch API?
Here is the documentation for the API from the Scratch Wiki: https://en.scratch-wiki.info/wiki/Scratch_API
I'm not sure if it has what you're looking for, but it's worth a read.
I'm not sure if it has what you're looking for, but it's worth a read.
- IronBill05
-
100+ posts
Can you post comments on a user's profile using the Scratch API?
https://en.scratch-wiki.info/wiki/Scratch_APII did read it but it did only had tutorials for making comments on projects and studios. Here is the documentation for the API from the Scratch Wiki:
I'm not sure if it has what you're looking for, but it's worth a read.
- SpyCoderX
-
1000+ posts
Can you post comments on a user's profile using the Scratch API?
So, the api for comments on profiles:https://en.scratch-wiki.info/wiki/Scratch_APII did read it but it did only had tutorials for making comments on projects and studios. Here is the documentation for the API from the Scratch Wiki:
I'm not sure if it has what you're looking for, but it's worth a read.
POST https://scratch.mit.edu/site-api/comments/user/SpyCoderX/add/
This returns a json response like so:
{"content":"test","parent_id":"","commentee_id":""}
This requires authentication.
- Jeffalo
-
1000+ posts
Can you post comments on a user's profile using the Scratch API?
i highly recommend learning your browser's developer tools' network panel. you can perform an action (like posting a comment) and see all of the network calls associated. in chrome and firefox, you can even ‘copy the request as fetch’ and paste the code into javascript.
that said, i really don't recommend automating social actions or performing them from outside scratch's normal interface. those kinds of things cause real issues for the scratch team.
that said, i really don't recommend automating social actions or performing them from outside scratch's normal interface. those kinds of things cause real issues for the scratch team.
- 82BITMYSTERY
-
100+ posts
Can you post comments on a user's profile using the Scratch API?
There's actually a script on GitHub that was used to comment on the Scratch Team's profile while they were closed, so yes.
- IronBill05
-
100+ posts
Can you post comments on a user's profile using the Scratch API?
This topic is now closed.
I found out how to post comments on profiles using the Scratch API. All that I am trying to do is figure out how to do the authentication process. If I continue to have problems with this, i might make another topic.
I found out how to post comments on profiles using the Scratch API. All that I am trying to do is figure out how to do the authentication process. If I continue to have problems with this, i might make another topic.
- Discussion Forums
- » Questions about Scratch
-
» Can you post comments on a user's profile using the Scratch API?