This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Introduction to Twitter's API Forum

View Course » View Exercise

735 points
2edf8a404cd850ed6fa1325b14610044?s=140&d=retro
Submitted by
Rui
almost 2 years ago

Very confused about the upside down username

I think what I'm supposed to do is adding

puts tweet["user"]["name"]+' - '+tweet["text"]

on line 17.
But what I got from the console is

uɐᴉɹoʞᴉɹʞ ᴉɟɟɐɹ - want to work on large scale? "Of course, we still have plenty more to do." #JoinTheFlock

and you can see I get the right tweet text but the username of this tweet is upside down. Is this caused by Codecademy?

Btw, I pass this section by changing tweet["user"]["name"] to "Raffi Krikorian", just like what Nicolas said in https://www.codecademy.com/forum_questions/54a6d192e39efe92190033c9


0 votes

permalink

Haha no, it is caused by the owner of the tweet himself :)

upside down name

1233 points
Dc1c980987950a1d20c47554c0734c92?s=140&d=retro
Submitted by
Zero
almost 2 years ago


0 votes

permalink

That actually makes the test to fail :) Had to hardcode that guys name, rather than grabbing from the tweet.

579 points
56c08803b91bc71e7d3de76da5b73f2a?s=140&d=retro
Submitted by
Kaster Might
almost 2 years ago


0 votes

permalink

Same problem here - probably best to get another example...strange error for people trying to learn to have to debug.

806 points
4370d69a4fbbbc6ed300cfb364f6c8e8?s=140&d=retro
Submitted by
Anthony DeFilippo
almost 2 years ago