This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-02-18 16:17:35

Squawkers13
Scratcher
Registered: 2010-11-20
Posts: 500+

Broken APIs

sparks wrote:

Squawkers13 wrote:

you know the block website is broken.
http://scratch.mit.edu/forums/viewtopic … 6#p1139756

Squawkers13, for some reason, your username doesn't work with API's. Both the block library login system and my self-updating-images-and-links-in-posts use an API to check usernames but yours isn't working  hmm  I have no idea why but I will try to find out.

Well...

IT MAKES NO SENSE!


http://pekkit.net/banners/pekkit.png

Offline

 

#2 2012-02-18 16:34:18

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Broken APIs

Well it seems to be working with your status. You're online to me so something must be fine. On The other hand, There seems to be nothing wrong with your syntax for newest project. Let me copy it exactly and then just change your name for mine...

http://blocks.scratchr.org/API.php?user=sparks&action=projects&type=newest&return=text&num=1

I'll try yours without a capital S too, just in case:
http://blocks.scratchr.org/API.php?user=squawkers13&action=projects&type=newest&return=text&num=1

Nope... It's definetly your name... You're not banned on the Scratch main site or anything?

Last edited by sparks (2012-02-18 16:35:29)


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#3 2012-02-18 17:13:05

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Broken APIs

sparks wrote:

Well it seems to be working with your status. You're online to me so something must be fine. On The other hand, There seems to be nothing wrong with your syntax for newest project. Let me copy it exactly and then just change your name for mine...

http://blocks.scratchr.org/API.php?user … &num=1

I'll try yours without a capital S too, just in case:
http://blocks.scratchr.org/API.php?user … &num=1

Nope... It's definetly your name... You're not banned on the Scratch main site or anything?

Maybe if they've been banned before...just an idea, probably incorrect.   tongue

Offline

 

#4 2012-02-19 12:42:26

Squawkers13
Scratcher
Registered: 2010-11-20
Posts: 500+

Re: Broken APIs

Never Been Banned!


http://pekkit.net/banners/pekkit.png

Offline

 

#5 2012-02-19 13:36:45

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Broken APIs

Squawkers13 wrote:

Never Been Banned!

Hm.  Have any special things ever happened to you as a Scratcher?

Offline

 

#6 2012-02-19 13:48:57

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Broken APIs

Go to the URL

http://scratch.mit.edu/api/authenticateuser?username=Squawkers13&password=PASSWORD

,replacing PASSWORD with your password. The page should display something. For me, it displays 183006:sparks:unblocked which is my user ID, user name and status. If I type the wrong password it shows the text 'false'.

If you tell us what it says for you we can get an idea as to what the API is doing with your username, though be careful not to post your password here!


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#7 2012-02-19 15:32:56

PenguinParadise
New Scratcher
Registered: 2012-02-19
Posts: 5

Re: Broken APIs

(I am a account managed by Squawkers13)
it said: 639974:Squawkers13:unblocked

Offline

 

#8 2012-02-19 16:02:21

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Broken APIs

In that case, I have NO idea.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#9 2012-02-19 17:18:13

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Broken APIs

sparks wrote:

In that case, I have NO idea.

Ditto.  I wish someone from the ST would help us out here.   sad

Offline

 

#10 2012-02-19 19:43:49

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: Broken APIs

...weird


the the the the the

Offline

 

#11 2012-03-12 19:24:09

Squawkers13
Scratcher
Registered: 2010-11-20
Posts: 500+

Re: Broken APIs

PenguinParadise wrote:

(I am a account managed by Squawkers13)
it said: 639974:Squawkers13:unblocked

true story.


http://pekkit.net/banners/pekkit.png

Offline

 

#12 2012-03-12 21:19:47

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Broken APIs

It will say something like "false" if you use an invalid code. If it says anything other than false, then it is a valid user.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#13 2012-03-13 07:24:49

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Broken APIs

Well your project name in the first post appears to be showing now...

[post 3997]


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#14 2012-03-13 09:30:46

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Broken APIs

Almost there, sparks! But really, that's why the displays were removed: to keep post counts from getting to be an obsession.  tongue


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#15 2012-03-13 09:41:14

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Broken APIs

It's not really an obsession, I never usually could but I'm two posts away from 4000 posts  tongue  I'm kinda excited, especially since I don't tend to post chat posts in misc.

[post 3998]


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#16 2012-03-13 12:06:54

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: Broken APIs

sparks wrote:

It's not really an obsession, I never usually could but I'm two posts away from 4000 posts  tongue  I'm kinda excited, especially since I don't tend to post chat posts in misc.

[post 3998]

lol neither do I and that's why I'm on 671


http://i.imgur.com/zeIZW.png

Offline

 

Board footer