Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • 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
vínαч puppαl
@MindWhys you should see this(Pretty Printed)
error: "Bad Request",
status: 400,
message: "No client id specified"
@vinaypuppal I see that one with the one you posted but not the one I am using
If I use the one you posted it doesn't send an API for any of them
vínαч puppαl
@MindWhys oh you need to use both API URL, one for fetching stream data and other for fetching user data
how do I make your one work?
as you can see the link has the same error message of all links...even ones that should work like freecodecamp
vínαч puppαl
@MindWhys oh i totally missed the point wait i will explain
@MindWhys I hope you are using https://wind-bow.gomix.me/
So for fetaching stream data use https://wind-bow.gomix.me/twitch-api/streams/freecodecamp
If stream is not null then u see only few user data(like name, and, stream info...) inside stream object
if stream is null then you have to make another req to https://wind-bow.gomix.me/twitch-api/users/freecodecamp
to get user details.
Hi Everyone. I just started FCC a couple days ago and I have hit my first road block when tasked with my Portfolio webpage. If anyone can please assist me. I have some questions.
vínαч puppαl
@MindWhys and for non existing users use /users/ endpoint https://wind-bow.gomix.me/twitch-api/users/comster404
so u will get User "comster404" is unavailable message

$(document).ready(function() {
$("#target1").css("color", "red");

</script> <button class="btn btn-default target" id="target4">#target4</button> Emphasize the text in your target4 button by adding HTML tags.
Make sure the text is otherwise unchanged.
Do not alter any other text.
Make sure you are using .html() and not .text().
Make sure to select button id="target4" with jQuery.

@vinaypuppal ahhh, so you need to separate online from not online first...then separate not online from doesn't exist
vínαч puppαl
@MindWhys yes thats what i did and in all cases I used /users endpoint also to get logo and and bio info to show in UI more differently than FCC example.
great :) Thank you. It's too late for me to try that now but I will get that done when I next have time. All the best :)
@vinaypuppal thanks
vínαч puppαl
@MindWhys :+1:
hey guys
how can it be text-center works for my image
but center-block doesent?
@mustimuu probably because you are using bootstrap4 and the center-block class doesn't exist in bootstrap4
Instead of center-block, use mx-auto d-block
Paul DiLoreto
@mustimuu Not sure if this applies, but also you have to apply center-block to the img itself, as opposed to its parent div. Whereas with text-center you usually put that within the element containing any text.
Jean Marco Romero
why does DOCTYPE declaration makes background photo dissapear?
im having trouble while passing the text for twitter
it shows for sharing: "Standards are like sex; one mistake, and you&#8217;re stuck supporting it forever! " Mark Pilgrim instead of "Standards are like sex; one mistake, and you’re stuck supporting it forever!"
im getting problems with the encoding
and here is the part of the code that I am using:
$('#tweet-quote').attr('href', 'https://twitter.com/intent/tweet?text=' + encodeURIComponent('"' + text + '" ' + author));
vínαч puppαl
@pvale94 may be try this
$('#tweet-quote').attr('href', 'https://twitter.com/share/?text=' + encodeURIComponent('"'  +  text  +  '"  '  + author));
It didn't work :(
vínαч puppαl
@pvale94 i updated URL in my previous reply, and this seems working for me
$('#tweet-quote').attr('href', 'https://twitter.com/share/?text=' + encodeURIComponent('"'  +  text  +  '"  '  + author));
@pvale94 Did you use target="_blank" on your tweet-quote HTML?
vínαч puppαl
@pvale94 passing hello; and authorname as text to 'https://twitter.com/share/?text=' + encodeURIComponent('"' + 'hello;' + '" ' + 'author name') would evaluate to https://twitter.com/share/?text=%22hello%3B%22%20%20authorname
@SkyCoder01 yeah
@pvale94 Good, it should work better now
You may just want to change it to grab your $('#quote').text() instead though, I think that does some encoding on it
Or, escaping, I mean - so you don't get character codes for smart quotes, for example
vínαч puppαl
@pvale94 oh dont worry about &#8217; its just hex value of ' it would be tweeted as ' in tweet so no need to worry
@vinaypuppal it tweets the hex value
vínαч puppαl
@pvale94 oh :worried:
@pvale94 then no idea why its happening, may be someone else can help
    if (($('#quote').text().length) > 140) {
    } else {
      $('#tweet-quote').attr('href', 'https://twitter.com/intent/tweet?text=' + encodeURIComponent($('#quote').text()));
Matt K
Can someone take a look at my pen and see if there's an alternative way to make this quote machine better, or more concise without using an API? http://codepen.io/MattKim22/pen/LxeNPp
any feedback would be appreciated
@SkyCoder01 Oh! I see what you did. It worked! \o/
thanks m8 :b
Now I have to figure out how to get only small quotes. It's not nice to hide/show button based on quotes lengths :\
vínαч puppαl
@pvale94 did ' converted to ' again in tweet ?? what did i miss in my answer