Discuss Scratch

minekraftkid
Scratcher
100+ posts

How do I follow Kaj?

oops sorry, SO SILLY made a fool out of my self again, oops
minekraftkid
Scratcher
100+ posts

How do I follow Kaj?

oops sorry, SO SILLY made a fool out of my self again, oops
i got this again
this is what I get
$.ajax({
type: “PUT”,
url: "http://scratch.mit.edu/site-api/users/followers/kaj/add/“,
data: { usernames:”minekraftkid" }
})
VM2530:2 Uncaught SyntaxError: Unexpected identifier
minekraftkid
Scratcher
100+ posts

How do I follow Kaj?

oops sorry, SO SILLY made a fool out of my self again, oops
i got this again
this is what I get
$.ajax({
type: “PUT”,
url: "http://scratch.mit.edu/site-api/users/followers/kaj/add/“,
data: { usernames:”minekraftkid" }
})
VM2530:2 Uncaught SyntaxError: Unexpected identifier
danthescratcher
Scratcher
15 posts

How do I follow Kaj?

what 3 line thing? o3o
PrincessPanda_test_
Scratcher
1000+ posts

How do I follow Kaj?

danthescratcher wrote:

what 3 line thing? o3o
Yay, the creator of a curated project!

But….

Don't necropost.
liam48D
Scratcher
1000+ posts

How do I follow Kaj?

The problem is that you're using the wrong kind of quotes. Make sure you're using plain text quotes, not calligrapher's!
NickyNouse
Scratcher
1000+ posts

How do I follow Kaj?


The problem is that you're using the wrong kind of quotes.______
______Make sure you're using plain text quotes, not calligrapher's!

-liam48D, 2015
ev3coolexit987654
Scratcher
1000+ posts

How do I follow Kaj?

Scratchifier wrote:

minekraftkid wrote:

this is what I get
$.ajax({
type: “PUT”,
url: "http://scratch.mit.edu/site-api/users/followers/kaj/add/“,
data: { usernames:”PrincessPanda_test_" }
})
VM115:3 Uncaught SyntaxError: Unexpected token ILLEGAL

Well your name isn't exactly PrincessPanda_test_
^Note to everyone: You got PrincessPanda_test_'s username wrong
liam48D
Scratcher
1000+ posts

How do I follow Kaj?

NickyNouse wrote:


The problem is that you're using the wrong kind of quotes.______
______Make sure you're using plain text quotes, not calligrapher's!

-liam48D, 2015
Why haven't I seen this!?
ops4
Scratcher
37 posts

How do I follow Kaj?

scratcher7_13 wrote:

Copying/pasting that text doesn't immediately work anyway. I found the problem, though.
why not?

Last edited by ops4 (Nov. 1, 2015 22:07:46)

Jonathan50
Scratcher
1000+ posts

How do I follow Kaj?

ops4 wrote:

scratcher7_13 wrote:

Copying/pasting that text doesn't immediately work anyway. I found the problem, though.
why not?
Because the forums put the wrong kind of quotation mark (") because the person who posted the code just copied and pasted it without understanding it or putting it in [code] tags.
Please don't necropost on old topics.
scratchyone
Scratcher
100+ posts

How do I follow Kaj?

$.ajax({
type: "PUT",
url: "http://scratch.mit.edu/site-api/users/followers/scratchyone/add/",
data: { usernames:”PrincessPanda_test" }
})
Change scratchyone to kaj

Last edited by scratchyone (Nov. 16, 2015 19:47:10)

Jonathan50
Scratcher
1000+ posts

How do I follow Kaj?

scratchyone wrote:

$.ajax({
type: "PUT",
url: "http://scratch.mit.edu/site-api/users/followers/Jonathan50/add/"
})
Change scratchyone to kaj
No, that's a bad idea.
(btw the data thing doesn't exist. you just need to be logged in AFAIK)
Dylan5797
Scratcher
1000+ posts

How do I follow Kaj?

cheeseeater wrote:

ChocolatePi wrote:

Zaidhaan wrote:

If you have chrome browser, then go to any page on scratch, click that 3 lines thing at the top right of the page, put the mouse on more tools and click javascript console, then write this:

$.ajax({
type: “PUT”,
url: "http://scratch.mit.edu/site-api/users/followers/kaj/add/“,
data: { usernames:”PrincessPanda_test" }
})

Inform me if it works
delete that immediately!

eh, who cares. there's another leet list already.
I know, I wish everyone hadn't started following Kaj. :{ The next trend is commenting on his/her projects and profile.
It's on the wiki. Commenting on deleted profiles was patched
XenonGlow
Scratcher
10 posts

How do I follow Kaj?

minekraftkid wrote:

this is what I get
$.ajax({
type: “PUT”,
url: "http://scratch.mit.edu/site-api/users/followers/kaj/add/“,
data: { usernames:”PrincessPanda_test" }
})
VM115:3 Uncaught SyntaxError: Unexpected token ILLEGAL
You have to go to the followers page. Go to the console. Then copy and paste this:

$.ajax({type: “PUT”,url: "https://scratch.mit.edu/site-api/users/followers/kaj/add/",data: {usernames: Scratch.INIT_DATA.LOGGED_IN_USER.model.username}})
Jonathan50
Scratcher
1000+ posts

How do I follow Kaj?

XenonGlow wrote:

minekraftkid wrote:

this is what I get
$.ajax({
type: “PUT”,
url: "http://scratch.mit.edu/site-api/users/followers/kaj/add/“,
data: { usernames:”PrincessPanda_test" }
})
VM115:3 Uncaught SyntaxError: Unexpected token ILLEGAL
You have to go to the followers page. Go to the console. Then copy and paste this:

$.ajax({type: “PUT”,url: "https://scratch.mit.edu/site-api/users/followers/kaj/add/",data: {usernames: Scratch.INIT_DATA.LOGGED_IN_USER.model.username}})
No, the issue is you aren't using [code] tags, and the double-quotes are converted into fancy quotes.
Red-Hedge
Scratcher
9 posts

How do I follow Kaj?

[quoteIf you have chrome browser, then go to any page on scratch, click that 3 lines thing at the top right of the page, put the mouse on more tools and click javascript console, then write this:

$.ajax({
type: “PUT”,
url: "http://scratch.mit.edu/site-api/users/followers/kaj/add/“,
data: { usernames:”PrincessPanda_test" }
})

Inform me if it works ]

It told me it is illegal when I did it.




Dylan5797
Scratcher
1000+ posts

How do I follow Kaj?

Red-Hedge wrote:

[quoteIf you have chrome browser, then go to any page on scratch, click that 3 lines thing at the top right of the page, put the mouse on more tools and click javascript console, then write this:

$.ajax({
type: “PUT”,
url: "http://scratch.mit.edu/site-api/users/followers/kaj/add/“,
data: { usernames:”PrincessPanda_test" }
})

Inform me if it works ]

It told me it is illegal when I did it.

PLEASE DON'T NECROPOST!!!!!!
READ THE POSTS ABOVE!!!!!!!!!!
This must be awkward for PrincessPanda_test_
Jonathan50
Scratcher
1000+ posts

How do I follow Kaj?

Red-Hedge wrote:

Zaidhaan wrote:

If you have chrome browser, then go to any page on scratch, click that 3 lines thing at the top right of the page, put the mouse on more tools and click javascript console, then write this:

$.ajax({
type: “PUT”,
url: "http://scratch.mit.edu/site-api/users/followers/kaj/add/“,
data: { usernames:”PrincessPanda_test" }
})

Inform me if it works

It told me it is illegal when I did it.



1. Please do not necropost. (that's posting on old dead topics)
2. It didn't tell you it was illegal, that never happened.
3. please write correct BBCode

Powered by DjangoBB