├── README.md ├── instagram.js ├── twitter.js └── twitter.html /README.md: -------------------------------------------------------------------------------- 1 | # auto-follow-social-networks 2 | 3 | These scripts help to reduce time when following profiles that are in a Instagram or Twitter profile. 4 | 5 | Estos scripts ayudan a reducir el tiempo al seguir los perfiles que se encuentran en un perfil de Instagram o Twitter. 6 | -------------------------------------------------------------------------------- /instagram.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | 'use strict'; 3 | //20 people per hour. http://www.jennstrends.com/limits-on-instagram/ 4 | var botones = document.getElementsByClassName("_aj7mu _2hpcs _95tat _o0442"); 5 | var maximo = (botones.length < 20) ? botones.length : 20; 6 | for (var i = 0; i < botones.length; i++) { 7 | var boton = botones.item(i); 8 | if (boton.textContent == 'Seguir') { 9 | boton.click(); 10 | } 11 | setTimeout(function () { 12 | console.log('Usuario ', i); 13 | }, 250); 14 | } 15 | })(); -------------------------------------------------------------------------------- /twitter.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | 'use strict'; 3 | var contenedores = document.getElementsByClassName('not-following'); 4 | for (var i = 0; i < contenedores.length; i++) { 5 | var contenedor = contenedores[i]; 6 | var botones = contenedor.getElementsByClassName('follow-button'); 7 | var maximo = (botones.length < 100) ? botones.length : 100; 8 | for (var j = 0; j < maximo; j++) { 9 | var boton = botones.item(j); 10 | boton.click(); 11 | setTimeout(function () { 12 | console.log('Usuario ', j); 13 | }, 250); 14 | } 15 | } 16 | })(); -------------------------------------------------------------------------------- /twitter.html: -------------------------------------------------------------------------------- 1 | 2 |