Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
Thierno Sadou Diallo
@thierved
hello! I need help with the twichtv project. the given api link is not working.
Brad
@bradtaniguchi
@thierved Did you read about the change to the challenge on point #9?
Thierno Sadou Diallo
@thierved
@bradtaniguchi no .
Brad
@bradtaniguchi

@thierved I guess twitched changed their API, so you need to use a different one. This is the text for bullet point #9 of the challenge

"UPDATE: Due to a change in conditions on API usage explained here Twitch.tv now requires an API key, but we've built a workaround. Use https://wind-bow.glitch.me/twitch-api instead of twitch's API base URL (i.e. https://api.twitch.tv/kraken ) and you'll still be able to get account information, without needing to sign up for an API key."

Here's how to use it:
https://wind-bow.glitch.me/
Thierno Sadou Diallo
@thierved
@bradtaniguchi this is what I get when I use the url : {
status: 404,
error: "not found"
}
Roman Struna
@RomchyFCC
remember that /streams will return an empty JSON object if the channel is not online
in which case use profile/channel
Brad
@bradtaniguchi
Idk how the "fake" api actually works
but I know this route (which is provided in the challenge) works
Stephen James
@sjames1958gm
@RomchyFCC The api does return a json object for /streams, just that there is no stream data in the object
Roman Struna
@RomchyFCC
i knew that been working on the project most of my morning :) i just worded myself wrong :(
i fixed it :) i think
Thierno Sadou Diallo
@thierved
yes I read it now! am I supposed to use the hard coded json api?
Brad
@bradtaniguchi
@thierved Not sure what you mean hard coded json api
Ghost
@ghost~5a4a80acd73408ce4f859755
Can someone help me out with this please?
https://codepen.io/MuhammedK/pen/oEeYPM?editors=1010
Roman Struna
@RomchyFCC
there is a hard coded option in one of the "fixes"
what do you need @MuhammedKarim
Gulsvi
@gulsvi
@thierved Don't hard code the data, use the URL they provide to you in the challenge, an example is provided above by @bradtaniguchi
^ notice how that uses glitch.me not gomix.me
For different users, replace OgamingSC2 with the user name
Roman Struna
@RomchyFCC
gomix also wark but you have to provide the callback in the url
Ghost
@ghost~5a4a80acd73408ce4f859755
How the heck do i do this lol @RomchyFCC
image.png
Thierno Sadou Diallo
@thierved
@RomchyFCC thank you ! this link works!
CamperBot
@camperbot
thierved sends brownie points to @romchyfcc :sparkles: :thumbsup: :sparkles:
:cookie: 302 | @romchyfcc |http://www.freecodecamp.org/romchyfcc
Roman Struna
@RomchyFCC
np, gl
Gulsvi
@gulsvi
gomix "works" but why go through a redirect and the need for JSONP when you don't have to?
Roman Struna
@RomchyFCC
you don't need jsonp
Gulsvi
@gulsvi
Adding callback=? tells jQuery to use JSONP
Roman Struna
@RomchyFCC
scratch that
Thierno Sadou Diallo
@thierved
@bradtaniguchi thank you , I've found a link
CamperBot
@camperbot
thierved sends brownie points to @bradtaniguchi :sparkles: :thumbsup: :sparkles:
:cookie: 365 | @bradtaniguchi |http://www.freecodecamp.org/bradtaniguchi
Ghost
@ghost~5a4a80acd73408ce4f859755
@RomchyFCC u know how to do it or naah?
Roman Struna
@RomchyFCC
@MuhammedKarim you're doing the khan academy course :)?
Tom
@moT01
you made some fish @MuhammedKarim
so you know how to make a fish
Ghost
@ghost~5a4a80acd73408ce4f859755
yeah man i need to learn JS coz i cant code it to save my fish @RomchyFCC
yeaah @moT01
Tom
@moT01
so do this...
onclick
get click location
draw fish at location
Brad
@bradtaniguchi
@thierved np :D
Roman Struna
@RomchyFCC
i do know, you make a fish into a function
i.e: makeFish();
then you add an event listener and everytime you click, call makeFish()
Ghost
@ghost~5a4a80acd73408ce4f859755
but how do i make a fish with random colours and size and all? i cant have the same one...
Roman Struna
@RomchyFCC
Math.random()
Ghost
@ghost~5a4a80acd73408ce4f859755
im a newbie lmao idk how i'll make that work