A lot of marketers now use Facebook as a way to connect with fellow entrepreneurs, clients, coaches, and leaders.
Facebook [Meta] has now become a really great tool for communication, allowing us to directly message pretty much anyone.
Today, I’d like to share a 3-step tutorial to remove/cancel all the pending friend requests you have sent on Facebook in one click.
(Even if you have iOS or Android, I suggest you do this on a laptop).
This works as of August 2024.
Step 1 – Go to the Facebook Friends Mobile Site and Scroll Down to the Bottom
The link is https://m.facebook.com/friends/center/requests/outgoing/#friends_center_main
✋ Stop worrying about SEO and have me do it for you
PS: Ready to work with the 0.01% of all SEOs worldwide? Click here.
Don’t forget to scroll down that list all the way to the bottom.
Step 2 – Go to the Chrome/Firefox Console
You can right-click anywhere on the page and then select Inspect.
or you can press alt+cmd+J on Chrome.
Step 3 – Paste this script on the console
var inputs = document.getElementsByClassName('_54k8 _52jg _56bs _26vk _2b4n _56bt');
for(var i=0; i != inputs.length; i++) {
inputs[i].click();
}
That’s it! You’re done.
Manual Method
If there’s only one specific friend request you want to cancel, you can do so by
- Going to your sent friend requests.
- Hovering over Friend Request Sent next to the request you’d like to cancel.
- Selecting Cancel Request > Cancel Request.
If you liked this, share it with a growth hacker!
Also, if you are in the same space as me (entrepreneurship, digital marketing, growth hacking) let’s connect on Facebook! I love meeting new people.
Other articles you will certainly enjoy:
This is great, worked perfectly!
Tysm, you are awesome! Still Working to 18/09/2021, just make sure to reach the end of the page, to just put the scrypt once
Just Awesome u are bro
Youre the real deal 😀
Thank you for this! I really appreciate it. And yes, it 100% works! No pending sent friend requests already. Really good stuff!
Thank you so much for this script
2nd try, It works like a charm 23 September 2020, thank you
Happy it was helpful 🙂
works like a charm 😀
Happy it was helpful! 🙂
Hola Alejandro,
This script worked like a jem.
Do you have one to to add all mutual friends listed on https://www.facebook.com/friends? Ideally, only auto add all who I have 20+ mutual friends with.
thank u so much
I was facing trouble to cancel request one by one , this script worked for me very well, thanks!
If you are using social networks you should have these extensions:
for Facebook – https://chrome.google.com/webstore/detail/invite-post-likers-to-lik/dfhnkeijhilolcebpchcdiclpejojodb?utm_source=chrome-ntp-icon
for Instagram – https://chrome.google.com/webstore/detail/follow-like-view-stories/dmfpagleeceibgngagfnkpmccbpdgdcm?utm_source=chrome-ntp-icon
Open Facebook in one click? This extension will help to do it!
https://chrome.google.com/webstore/detail/extension-for-facebook/oelifdhafmgchjcmoglcdfaopkpokjdo
Does not work….
As of today the current script worked for me! Thanks so much!
glad it did!
Really nice.. Saved a lot of my time. Thank you
As of October 7th, it doesn’t work
Thanks you
The script worked fine for me, I had 1000 sent requests (unanswered) which is apparently the limit.
🙂
if you have 5000 friend request you can add this on the script
for(let i=0; i{
scrollTo(0, 1000000)
}, i*5000);
};
As of Aug. 9th 2019, it worked 100%.
its easy and fast.
Thanks a lot Alejandro.
🙂
It worked like a charm. Thanks Alejandro.
It seems that the class name changed.
” class=”ba bc bt bu bb” seems to be the name for the “Cancel invitation” box
however this script :
javascript:var inputs = document.getElementsByClassName(‘ba bc bt bu bb’);
for(var i=0; i<=inputs.length;i++){inputs[i].click();}
only delete one invitation
It Doesn’t work ;(
I didn’t paste the script but knowing that your url link me to the page where i can remove those sent requests one-by-one is totally a heaven. Thank u so much for posting this, can’t thank you enough. You provide more concrete and specific answers to any FB admin posts i came across.
I’m glad to hear this 🙂 let me know if you have other ideas for posts about FB tricks
I pasted it in the console and nothing happened. Am I supposed to do something?
Sadly still not working. It keeps saying “Uncaught SyntaxError: Invalid or unexpected token” and the “_54k8 _52jg _56bs _26vk _56b_ _5uc3 _3cqr _56bt” part is getting underlined in red colour. Seems that the class name is incorrect. Ideas?
javascript:var inputs = document.getElementsByClassName(“_54k8 _52jg _56bs _26vk _56b_ _5uc3 _3cqr _56bt”);
for(var i=0; i<= inputs.length;i++){inputs[i].click();}
thanks for sharing!
i updated it , it’s working well now 🙂
javascript:var inputs = document.getElementsByClassName(“_54k8 _52jg _56bs _26vk _56b_ _5uc3 _3cqr _56bt”);
for(var i=0; i<= inputs.length;i++){inputs[i].click();}
Doesn’t work anymore
it’s fixed now!
Looks like it needs to be updated again. Worked earlier this year.
updated it!
Doesnt work any more..smh
it’s fixed now!
type first javascript: after the code in the console
The script used to work fine but now I receive messages that say’Stop ” Cross-Origin-aanvraag geblokkeerd: de Same Origin Policy staat het lezen van de externe bron op https://1-edge-chat.facebook.com/pull?channel=p_100003159628724&seq=31&partition=-2&clientid=6be8e9f3&cb=a2rm&idle=1&qp=y&cap=8&pws=fresh&isq=323537&msgs_recv=31&uid=100003159628724&viewer_uid=100003159628724&sticky_token=345&sticky_pool=lla1c26_chat-proxy&state=active&mode=stream&format=json niet toe. (Reden: CORS-aanvraag is niet gelukt).[Meer info]
So the request is blocked, any idea how to slove this?
it’s fixed now!
thanks you so much for the script 🙂
I extremely like these types of posts which are composed in basic written work with the goal that everybody can understand it, and everybody can understand what message authors needs to pass on. The style of your is exceptionally one of a kind however straightforward what you need to say in this discussion.Education contain diverse task like exposition, task, research paper writing and a significant number of the student can’t finish their assignment effectively inside the time. Visit : https://writeversity.com