Created
July 22, 2015 14:15
-
-
Save filpgame/4306087183809af02752 to your computer and use it in GitHub Desktop.
Invite all friends to like facebook page at once
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1 - you need to get the 'data-reactid' value manually on ul (something like '.4m.0.$0.1.$1.0.0.0.0.1'). | |
// 2 - you need to scroll down to load all friends. | |
// in others versions i gonna improve this. | |
var friends = document.querySelectorAll("ul[data-reactid='00000000000'] li"); | |
for(i=0;i<friends.length;i++){ | |
friends[i].children[0].click(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment