If you are reading this post and you found it on search engine, its most probably the case that you have a facebook group, have thousands of members, and want to remove them for some reason but not closing your group at the same time. Removing these members can be tedious and hectic as there is no way to do it in batches.
So I went on internet and looked for some macros or simple way to do this and I couldn’t find one. While there were some for pages (which don’t work for the latest facebook version anyway), there was none for groups. So when you can’t find one, you make one. And I did.
I looked for several methods to this and hunted for loopholes for hours. Until I found one!
The thing is, if you use facebook desktop, it has a few AJAX calls that makes it almost ridiculous to write the script. So I found a workaround to this by using the mobile version instead. Smart!
Then there are some iMacros limitation on Google Chrome in which there is no absolute solution for browser pop-ups. On Firefox, it loads the old skool mobile version compared to the one on Chrome.
And then, there is a case (at least in mine), where you are the admin of the group but NOT the founder of the group which means there are two names to be ruled out (of course one if you are the founder).
SO I did what every programmer would do. To use this tool, you will need the following:
So just install the above in order and you will be set. Run FireFox, switch the user agent to Chrome, install iMacros, add the script, edit the URL and hit Play. You will be good to go.
Now the script. All you need to do is replace the <ID> part of the script and you will be ready to run. The rest will make sense when you run it :)
VERSION BUILD=7020226 RECORDER=CR URL GOTO=https://m.facebook.com/groups/<ID>?view=members SET !ERRORIGNORE YES SET !TIMEOUT 100 SET !DIALOGMANAGER NO TAG POS=2 TYPE=A ATTR=TXT:Remove WAIT SECONDS=0.1 ONDIALOG POS=1 BUTTON=OK CONTENT= WAIT SECONDS=0.1
Or feel free to download the script file here. If you like it, spread the word, and link back to this page. Cheers~