Instantly share code, notes, and snippets.

anonymous /deletefbgroup.js
Created Nov 6, 2012

Embed
What would you like to do?
Easy way to delete ALL members from a Facebook group
/* Author/Autorius - Tautvydas Fosron Tijunaitis
http://fosron.lt http://tijunaitis.lt
(KIND OF) EASY WAY TO DELETE A FACEBOOK GROUP
LT: IŠBANDYTA TIK SU GOOGLE CHROME IR TIK IS JAVASCRIPT KONSOLES. NAUDOKITE ATSARGIAI.
EN: THIS WILL ONLY WORK FROM A WEB BROWSER CONSOLE
CREATED WITH GOOGLE CHROME & TESTED ONLY ON GOOGLE CHROME
This is a VERY hacky way to delete all facebook group members. Use with caution.
*/
/* Grupes ID / Group ID*/
var groupid = "";
/* Prisijungimo raktas / Access token
http://developers.facebook.com/tools/explorer/ - generate here*/
var token = "";
// LT: Si koda reikia rasti istrinimo formoje (Rankiniu budu bandykite istrinti nari tol kol priesite "Patvirtinti/Confirm" laukeli, jame susiraskite input elementa su vardu "fb_dtsg"
// EN: You need to find this in Facebook source code. Do the manual user delete from a gruop, but stop at "Confirm", then check the source code with a console for a input element "fb_dtsg"
var dtsg = "";
/////////////////////////////////
REST OF THE CODE
http://fosron.lt/delete-all-users-from-a-facebook-group
/////////////////////////////////
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment