M
M
mars1302021-03-18 11:07:44
JavaScript
mars130, 2021-03-18 11:07:44

How to write a console script that puts likes on twitter?

Hello everyone, can you please tell me if it is possible to write a script for mass inserting likes on Twitter?
I found a script for mass acceptance as friends for VK, tried to remake it for twitter for likes, but all my attempts were in vain.

Here is the code for VK, please tell me how to adapt it for likes on Twitter

var buttons = document.getElementsByTagName('button');
for(var i = 0; i < buttons.length; i++){
  var thisButton = buttons[i];
  if(thisButton.id.includes("accept_request")){
    thisButton.click()
  }
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question