Help! Newbie having headaches with Soundcloud JavaScript coding :P


So I´m trying to figure out a JavaScript code to automatically follow 99 people of a giving account at once, I came up with this, but doesn´t seem to work…

var inputs = document.getElementsByClassName(‘sc-button-follow sc-button sc-button-small sc-button-responsive’);

for(var i=0; i < 99; i++) { inputs[i].click(); }

Any help? 

Thank you so much, newbie here.


Andrea <3