Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » How do I get my followers list?
- --Explosion--
-
1000+ posts
How do I get my followers list?
How can I get my followers list as a copy/pasteable list of only usernames?
I know that you can use the scratch api to get a list of a users followers like this
Where offset is the offset by a certain number of followers (the list goes most to last recent) amd each page has 20 followers on it. If anybody code please make either make a progeam that I can run in console or make something and paste my followers list here than that would be extremely helpfull! Thanks!
–Explosion–
I know that you can use the scratch api to get a list of a users followers like this
https://api.scratch.mit.edu/users/--explosion--/followers?offset=0
–Explosion–
Last edited by --Explosion-- (Oct. 29, 2019 01:54:22)
- Sheep_maker
-
1000+ posts
How do I get my followers list?
await (async () => { const followers = [] let offset = 0 let json do { json = await fetch(`https://api.scratch.mit.edu/users/--explosion--/followers?offset=${offset}&limit=40`) .then(r => r.json()) offset += 40 followers.push(...json) } while (json.length === 40) return followers.map(follower => follower.username) })()
- --Explosion--
-
1000+ posts
How do I get my followers list?
Hm… it says:returns an array of the usernames of your followers; you can run this in the console on the Scratch website. At least on Chrome you can right click the array that appears > Store as global variable, which stores the array in a variable (usually `temp1`). You can then do something like `temp1.join('\n')` to make it a string of the usernames separated by newlinesawait (async () => { const followers = [] let offset = 0 let json do { json = await fetch(`https://api.scratch.mit.edu/users/--explosion--/followers?offset=${offset}&limit=40`) .then(r => r.json()) offset += 40 followers.push(...json) } while (json.length === 40) return followers.map(follower => follower.username) })()
ReferenceError: Can't find variable: await
Global Code
evaluateWithScopeExtension
(anonymous function)
_wrapCall
- --Explosion--
-
1000+ posts
How do I get my followers list?
I'm sorry, I can't get this to run, I noticed the syntax error and tried again, would you mind running it and then posting the followers list here? Thanks!returns an array of the usernames of your followers; you can run this in the console on the Scratch website. At least on Chrome you can right click the array that appears > Store as global variable, which stores the array in a variable (usually `temp1`). You can then do something like `temp1.join('\n')` to make it a string of the usernames separated by newlinesawait (async () => { const followers = [] let offset = 0 let json do { json = await fetch(`https://api.scratch.mit.edu/users/--explosion--/followers?offset=${offset}&limit=40`) .then(r => r.json()) offset += 40 followers.push(...json) } while (json.length === 40) return followers.map(follower => follower.username) })()
- CatsUnited
-
1000+ posts
How do I get my followers list?
I managed to get the script to work when I ran it on Chrome's console log. I suggest trying it again with Chrome on your own machine, since it's not easy for me to be able to copy your follower list from the Chrome console due to the size of it, but here's the latest (100?) followers you have: I'm sorry, I can't get this to run, I noticed the syntax error and tried again, would you mind running it and then posting the followers list here? Thanks!
(1518) ["mnsj2", "scratch_Internet", "DUCKS789", "ScaIes", "hackettstudent3", "123hiforthereals12", "Imaginationstudio", "-Ashlyn-", "alexnewtronds", "jessiezhou2011", "the_cool_guyz", "Alchemaster", "-PixelParty-", "minecraftvsmoney", "sans_fan_clan_man", "DRB069", "TacticalEquator", "klasky1", "guiguipripri", "Nambaseking01", "marshmallow_funfood", "Audrey_Is_The_Queen", "vilizerio", "cs1866244", "Laffayeet", "Lazy_otter2_0", "jgao3626", "AreYouAlbert", "patchess554", "MiniMe2point0", "Elizdancer97", "dreamc19-s16", "Cooldude490", "SilverSpartan76", "Airlinefive", "avagsss", "dboderfield", "Dovestar8", "scoutnova", "752396", "WillyScratchMaker", "ThatOneWeirdDude", "SillyEar7", "ScratchTheCatNine4s", "A_nicePotato", "ArtDJ1", "Random_Human_Bean", "SuperCanon20", "Nat4537", "mickeymouse1929", "Dexo224", "Speedplay99", "_0xBadc0de", "Castillo512", "blackhamster125", "-most-", "Oscarjel1", "jesse8yunji", "wankexingyuan", "SCRACO65", "MD15G", "LB5G", "DarsithdLPS1920", "Jarvis3000", "thepixelist", "pizzaooh11", "BlueTheFlamesilk1", "Vividvibes_100", "CodePiramid", "404wt3094", "HermioneJGranger103", "SpottedleafIsAwsome", "explodingkittencat", "sozzles09", "phughes5", "y_naicker", "kc021", "Smile8900", "MarioMaker8008", "KIRAXLEEB", "poker10", "education-666", "Exploding_Test", "AwesomeBattleDroid", "cs3600056", "Alphapax", "derpydoop123", "xxlimited_dom", "tulatula", "Game_corner", "PinksMonkey", "EVB379968", "lengthhead1", "fantasticcatguy", "_DogePlayer_", "RedRebellion77", "JefferyTheSuperKat", "KiwigamerHD", "Rocketman14", "iornfists", …]
- Sheep_maker
-
1000+ posts
How do I get my followers list?
At least on modern versions of Chrome, await is allowed by default without wrapping it in an async function; here's one for consoles that don't do that: I'm sorry, I can't get this to run, I noticed the syntax error and tried again, would you mind running it and then posting the followers list here? Thanks!
(async () => { const followers = [] let offset = 0 let json do { json = await fetch(`https://api.scratch.mit.edu/users/--explosion--/followers?offset=${offset}&limit=40`) .then(r => r.json()) offset += 40 followers.push(...json) } while (json.length === 40) return followers.map(follower => follower.username) })() .then(usernames => { console.log(usernames) })
- --Explosion--
-
1000+ posts
How do I get my followers list?
Thanks! I realized that the script must not be working because I was using safari, thanks for your help!I managed to get the script to work when I ran it on Chrome's console log. I suggest trying it again with Chrome on your own machine, since it's not easy for me to be able to copy your follower list from the Chrome console due to the size of it, but here's the latest (100?) followers you have: I'm sorry, I can't get this to run, I noticed the syntax error and tried again, would you mind running it and then posting the followers list here? Thanks!(1518) ["mnsj2", "scratch_Internet", "DUCKS789", "ScaIes", "hackettstudent3", "123hiforthereals12", "Imaginationstudio", "-Ashlyn-", "alexnewtronds", "jessiezhou2011", "the_cool_guyz", "Alchemaster", "-PixelParty-", "minecraftvsmoney", "sans_fan_clan_man", "DRB069", "TacticalEquator", "klasky1", "guiguipripri", "Nambaseking01", "marshmallow_funfood", "Audrey_Is_The_Queen", "vilizerio", "cs1866244", "Laffayeet", "Lazy_otter2_0", "jgao3626", "AreYouAlbert", "patchess554", "MiniMe2point0", "Elizdancer97", "dreamc19-s16", "Cooldude490", "SilverSpartan76", "Airlinefive", "avagsss", "dboderfield", "Dovestar8", "scoutnova", "752396", "WillyScratchMaker", "ThatOneWeirdDude", "SillyEar7", "ScratchTheCatNine4s", "A_nicePotato", "ArtDJ1", "Random_Human_Bean", "SuperCanon20", "Nat4537", "mickeymouse1929", "Dexo224", "Speedplay99", "_0xBadc0de", "Castillo512", "blackhamster125", "-most-", "Oscarjel1", "jesse8yunji", "wankexingyuan", "SCRACO65", "MD15G", "LB5G", "DarsithdLPS1920", "Jarvis3000", "thepixelist", "pizzaooh11", "BlueTheFlamesilk1", "Vividvibes_100", "CodePiramid", "404wt3094", "HermioneJGranger103", "SpottedleafIsAwsome", "explodingkittencat", "sozzles09", "phughes5", "y_naicker", "kc021", "Smile8900", "MarioMaker8008", "KIRAXLEEB", "poker10", "education-666", "Exploding_Test", "AwesomeBattleDroid", "cs3600056", "Alphapax", "derpydoop123", "xxlimited_dom", "tulatula", "Game_corner", "PinksMonkey", "EVB379968", "lengthhead1", "fantasticcatguy", "_DogePlayer_", "RedRebellion77", "JefferyTheSuperKat", "KiwigamerHD", "Rocketman14", "iornfists", …]
- --Explosion--
-
1000+ posts
How do I get my followers list?
Thank you! I'm on mobile right now, but as soon as I get back on my pc I'll try it. Also, I am using safari, so that must have been the problemAt least on modern versions of Chrome, await is allowed by default without wrapping it in an async function; here's one for consoles that don't do that: I'm sorry, I can't get this to run, I noticed the syntax error and tried again, would you mind running it and then posting the followers list here? Thanks!This just logs the usernames; you can do whatever you want with the usernames array in the usernames => { … } function(async () => { const followers = [] let offset = 0 let json do { json = await fetch(`https://api.scratch.mit.edu/users/--explosion--/followers?offset=${offset}&limit=40`) .then(r => r.json()) offset += 40 followers.push(...json) } while (json.length === 40) return followers.map(follower => follower.username) })() .then(usernames => { console.log(usernames) })
- --Explosion--
-
1000+ posts
How do I get my followers list?
So I ran it and it worked, but it only gave me the first 99 followers, can I expand that list/export the full thing?At least on modern versions of Chrome, await is allowed by default without wrapping it in an async function; here's one for consoles that don't do that: I'm sorry, I can't get this to run, I noticed the syntax error and tried again, would you mind running it and then posting the followers list here? Thanks!This just logs the usernames; you can do whatever you want with the usernames array in the usernames => { … } function(async () => { const followers = [] let offset = 0 let json do { json = await fetch(`https://api.scratch.mit.edu/users/--explosion--/followers?offset=${offset}&limit=40`) .then(r => r.json()) offset += 40 followers.push(...json) } while (json.length === 40) return followers.map(follower => follower.username) })() .then(usernames => { console.log(usernames) })
- Sheep_maker
-
1000+ posts
How do I get my followers list?
Perhaps Safari is truncating the array?So I ran it and it worked, but it only gave me the first 99 followers, can I expand that list/export the full thing? …
You can make it log a string instead; you can replace usernames in this line:
console.log(usernames)
- --Explosion--
-
1000+ posts
How do I get my followers list?
Thanks so much!Perhaps Safari is truncating the array?So I ran it and it worked, but it only gave me the first 99 followers, can I expand that list/export the full thing? …
You can make it log a string instead; you can replace usernames in this line:with either usernames.join('\n'), which make it a string with each username in its own line, or usernames.join(' '), which puts all the usernames in a single line separated by spaces. Then you should be able to copy the whole thing and paste it somewhereconsole.log(usernames)
- DipLeChip
-
1000+ posts
How do I get my followers list?
with le code I was able to get htis:So I ran it and it worked, but it only gave me the first 99 followers, can I expand that list/export the full thing?At least on modern versions of Chrome, await is allowed by default without wrapping it in an async function; here's one for consoles that don't do that: I'm sorry, I can't get this to run, I noticed the syntax error and tried again, would you mind running it and then posting the followers list here? Thanks!This just logs the usernames; you can do whatever you want with the usernames array in the usernames => { … } function(async () => { const followers = [] let offset = 0 let json do { json = await fetch(`https://api.scratch.mit.edu/users/--explosion--/followers?offset=${offset}&limit=40`) .then(r => r.json()) offset += 40 followers.push(...json) } while (json.length === 40) return followers.map(follower => follower.username) })() .then(usernames => { console.log(usernames) })
(removed by moderator - please don't share links to google docs)(just watch the scroll bar select thigny grow smaller and smaller
Last edited by Paddle2See (Oct. 30, 2019 13:38:40)
- Nambaseking01
-
1000+ posts
How do I get my followers list?
returns an array of the usernames of your followers; you can run this in the console on the Scratch website. At least on Chrome you can right click the array that appears > Store as global variable, which stores the array in a variable (usually `temp1`). You can then do something like `temp1.join('\n')` to make it a string of the usernames separated by newlinesawait (async () => { const followers = [] let offset = 0 let json do { json = await fetch(`https://api.scratch.mit.edu/users/--explosion--/followers?offset=${offset}&limit=40`) .then(r => r.json()) offset += 40 followers.push(...json) } while (json.length === 40) return followers.map(follower => follower.username) })()
Thank you for that, I can now use it for my stuff by changing the username! MUAHAHAHHA-
- DipLeChip
-
1000+ posts
How do I get my followers list?
(removed by moderator - please don't share links to google docs)OOOOOF.
it's like 100k names of all griffpatch follower where to share.

- Nambaseking01
-
1000+ posts
How do I get my followers list?
-snip-
OOOOOF.
it's like 100k names of all griffpatch follower where to share.
You could use GitHub .md files, they are not banned.
- --Explosion--
-
1000+ posts
How do I get my followers list?
Yay! It worked perfectly! But… For some reason it says I have 1769 followers even though I only have 1730
- HatGirlOfficial
-
43 posts
How do I get my followers list?
Is there a way to list Studio members too?
- Jeffalo
-
1000+ posts
How do I get my followers list?
>only Yay! It worked perfectly! But… For some reason it says I have 1769 followers even though I only have 1730
>1730
- Philipuss
-
59 posts
How do I get my followers list?
Hi there! It seems that it can only give 40 followers and changing the limit just gives an error. Any idea on how I can get a list of 200 000 followers?returns an array of the usernames of your followers; you can run this in the console on the Scratch website. At least on Chrome you can right click the array that appears > Store as global variable, which stores the array in a variable (usually `temp1`). You can then do something like `temp1.join('\n')` to make it a string of the usernames separated by newlinesawait (async () => { const followers = [] let offset = 0 let json do { json = await fetch(`https://api.scratch.mit.edu/users/--explosion--/followers?offset=${offset}&limit=40`) .then(r => r.json()) offset += 40 followers.push(...json) } while (json.length === 40) return followers.map(follower => follower.username) })()
- RB4905
-
35 posts
How do I get my followers list?
if anybody needs further help here is a tutorilal on how to
https://scratch.mit.edu/projects/466105242/
https://scratch.mit.edu/projects/466105242/
- Discussion Forums
- » Advanced Topics
-
» How do I get my followers list?