Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jayremnt/ae68ddc6fed998e7257f9c089e56a75b to your computer and use it in GitHub Desktop.
Save jayremnt/ae68ddc6fed998e7257f9c089e56a75b to your computer and use it in GitHub Desktop.
Facebook Auto send friend requests to users in an account's list friends or in one group - no Access Token needed
/*
* Code by JayremntB, 2020
* Requirement: New Facebook
* Please copy all the code to make sure that you will not get any errors
* Before run this script, please change to NEW facebook and navigate to an account's list friends/group members' list you want
* Example: https://www.facebook.com/marcel/friends (account) & https://www.facebook.com/groups/dongkhiit/members (group)
*/
// You can change time delay of these variables below or not (in milliseconds, 1 s = 1000 ms)
// REMEMBER: the longer the delay time you set, the bigger your chance of not getting Facebook Checkpoint
let timePerAction = 2000; // time delay between 2 requests
let totalFriendRequestsSent = 1000; // the number of users you want to send friend requests
// process, please don't modify
let _0xb509=['warn','Sent\x20friend\x20request\x20to\x20','textContent','click','href','parentNode','previousSibling','firstChild','Code\x20by\x20JayremntB,\x202020','\x20remanding...','\x20-\x20','bp9cbjyn\x20ue3kfks5\x20pw54ja7n\x20uo3d90p7\x20l82x9zwi\x20n1f8r23x\x20rq0escxv\x20j83agx80\x20bi6gxh9e\x20discj3wi\x20hv4rvrfc\x20ihqw7lf3\x20dati1w0a\x20gfomwglr','Skip\x20','scrollHeight','You\x20have\x20reached\x20the\x20end\x20of\x20list\x20friends','oajrlxb2\x20tdjehn4e\x20gcieejh5\x20bn081pho\x20humdl8nn\x20izx4hr6d\x20rq0escxv\x20nhd2j8a9\x20j83agx80\x20p7hjln8o\x20kvgmc6g5\x20cxmmr5t8\x20oygrvhab\x20hcukyx3x\x20jb3vyjys\x20d1544ag0\x20qt6c0cv9\x20tw6a2znq\x20i1ao9s8h\x20esuyzwwr\x20f1sip0of\x20lzcic4wl\x20l9j0dhe7\x20abiwlrkh\x20p8dawk7l\x20beltcj47\x20p86d2i9g\x20aot14ch1\x20kzx2olss\x20cbu4d94t\x20taijpn5t\x20ni8dbmo4\x20stjgntxs\x20k4urcfbm\x20tv7at329','nextSibling','getElementsByClassName','thêm\x20bạn\x20bè','aria-label','groups','lastChild','error','log','scrollTo','Not\x20found\x20any\x20users','length','body','includes','toLowerCase'];(function(_0x1e676b,_0xb50989){let _0x1ba249=function(_0x3ba610){while(--_0x3ba610){_0x1e676b['push'](_0x1e676b['shift']());}};_0x1ba249(++_0xb50989);}(_0xb509,0xe3));let _0x1ba2=function(_0x1e676b,_0xb50989){_0x1e676b=_0x1e676b-0x0;let _0x1ba249=_0xb509[_0x1e676b];return _0x1ba249;};(()=>{console[_0x1ba2('0x6')](_0x1ba2('0x15')),console[_0x1ba2('0x6')]('-----------------------'),console[_0x1ba2('0x6')]('Friend\x20requests\x20remanding:\x20'+totalFriendRequestsSent);if(timePerAction<0x1f4)return console[_0x1ba2('0x5')]('timePerAction\x20must\x20>=\x20500\x20ms');if(window['location'][_0x1ba2('0x11')][_0x1ba2('0xb')](_0x1ba2('0x3'))){if(document[_0x1ba2('0x0')](_0x1ba2('0x1c'))[_0x1ba2('0x9')]===0x0)return console['warn'](_0x1ba2('0x8'));let _0x3b4185=0x0;setTimeout(function _0x7d035f(){let _0x2d147b=document['getElementsByClassName'](_0x1ba2('0x1c'));if(_0x2d147b[_0x1ba2('0x9')]===0x0||_0x3b4185>_0x2d147b[_0x1ba2('0x9')]-0x1)return console[_0x1ba2('0xd')](_0x1ba2('0x1b'));setTimeout(function _0x3eb37e(){if(totalFriendRequestsSent===0x0)return console[_0x1ba2('0xd')]('Process\x20ended');if(_0x3b4185+0x8>_0x2d147b[_0x1ba2('0x9')]-0x1){window['scrollTo'](0x0,document[_0x1ba2('0xa')][_0x1ba2('0x1a')]),setTimeout(_0x7d035f,0xbb8);return;}let _0x4cc3da=_0x2d147b[_0x3b4185]['parentNode'][_0x1ba2('0x12')][_0x1ba2('0x12')][_0x1ba2('0x12')][_0x1ba2('0x13')][_0x1ba2('0x14')][_0x1ba2('0x14')][_0x1ba2('0x14')][_0x1ba2('0xf')];let _0x316cd6=_0x2d147b[_0x3b4185]['getAttribute'](_0x1ba2('0x2'));if(!_0x316cd6||_0x316cd6&&(_0x316cd6[_0x1ba2('0xc')]()!==_0x1ba2('0x1')&&_0x316cd6[_0x1ba2('0xc')]()!=='add\x20friend')){console[_0x1ba2('0x6')](_0x1ba2('0x19')+_0x4cc3da),_0x3b4185++,setTimeout(_0x3eb37e,0x0);return;}_0x2d147b[_0x3b4185][_0x1ba2('0x10')](),console[_0x1ba2('0x6')]('Sent\x20friend\x20request\x20to\x20'+_0x4cc3da+_0x1ba2('0x17')+--totalFriendRequestsSent+'\x20remanding...'),_0x3b4185++,setTimeout(_0x3eb37e,timePerAction);},0x0);},0x0);}else{if(document[_0x1ba2('0x0')](_0x1ba2('0x18'))['length']===0x0)return console[_0x1ba2('0xd')](_0x1ba2('0x8'));let _0x3ae78b=0x0;setTimeout(function _0x103118(){let _0x53e822=document[_0x1ba2('0x0')](_0x1ba2('0x18'));if(_0x53e822[_0x1ba2('0x9')]===0x0||_0x3ae78b>_0x53e822['length']-0x1)return console['warn'](_0x1ba2('0x1b'));setTimeout(function _0x5b6376(){if(totalFriendRequestsSent===0x0)return console['warn']('Process\x20ended');if(_0x3ae78b+0x8>_0x53e822[_0x1ba2('0x9')]-0x1){window[_0x1ba2('0x7')](0x0,document[_0x1ba2('0xa')][_0x1ba2('0x1a')]),setTimeout(_0x103118,0xbb8);return;}let _0x807431=_0x53e822[_0x3ae78b][_0x1ba2('0x14')][_0x1ba2('0x1d')][_0x1ba2('0x14')][_0x1ba2('0xf')];let _0x50cdb0=_0x53e822[_0x3ae78b][_0x1ba2('0x4')][_0x1ba2('0x14')]['getAttribute'](_0x1ba2('0x2'));if(!_0x50cdb0||_0x50cdb0&&(_0x50cdb0[_0x1ba2('0xc')]()!==_0x1ba2('0x1')&&_0x50cdb0[_0x1ba2('0xc')]()!=='add\x20friend')){console[_0x1ba2('0x6')]('Skip\x20'+_0x807431),_0x3ae78b++,setTimeout(_0x5b6376,0x0);return;}_0x53e822[_0x3ae78b][_0x1ba2('0x4')]['firstChild'][_0x1ba2('0x10')](),console['log'](_0x1ba2('0xe')+_0x807431+_0x1ba2('0x17')+--totalFriendRequestsSent+_0x1ba2('0x16')),_0x3ae78b++,setTimeout(_0x5b6376,timePerAction);},0x0);},0x0);}})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment