How to Cancel All Pending Friend Requests on Facebook (2024 Script)

Cancel all sent friend requests pending on Facebook
Comments (46)
  1. Rick says:

    This is great, worked perfectly!

  2. Bancifer says:

    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

  3. Himadro says:

    Just Awesome u are bro

  4. nathan otoo says:

    Youre the real deal 😀

  5. Kyle Montero says:

    Thank you for this! I really appreciate it. And yes, it 100% works! No pending sent friend requests already. Really good stuff!

  6. NJONGOVUYO says:

    Thank you so much for this script

  7. Tony Sa says:

    2nd try, It works like a charm 23 September 2020, thank you

    1. Happy it was helpful 🙂

  8. CN says:

    works like a charm 😀

    1. Happy it was helpful! 🙂

  9. Charlie Kao says:

    Hola Alejandro,
    This script worked like a jem.
    Do you have one to to add all mutual friends listed on Ideally, only auto add all who I have 20+ mutual friends with.

  10. ayoub touti says:

    thank u so much

  11. Sachin says:

    I was facing trouble to cancel request one by one , this script worked for me very well, thanks!

  12. Mike says:

    Does not work….

  13. NA says:

    As of today the current script worked for me! Thanks so much!

  14. Abdu says:

    Really nice.. Saved a lot of my time. Thank you

  15. Anas says:

    As of October 7th, it doesn’t work

  16. Bilal Omar says:

    Thanks you

  17. meowy1 says:

    The script worked fine for me, I had 1000 sent requests (unanswered) which is apparently the limit.

  18. JrGaril says:

    if you have 5000 friend request you can add this on the script

    for(let i=0; i{
    scrollTo(0, 1000000)
    }, i*5000);

  19. Roshan says:

    As of Aug. 9th 2019, it worked 100%.
    its easy and fast.
    Thanks a lot Alejandro.

  20. Vivek says:

    It worked like a charm. Thanks Alejandro.

  21. redoudou says:

    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

  22. Haqif says:

    It Doesn’t work ;(

  23. Jass says:

    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.

    1. I’m glad to hear this 🙂 let me know if you have other ideas for posts about FB tricks

  24. Wilson De Villa says:

    I pasted it in the console and nothing happened. Am I supposed to do something?

  25. Frederic says:

    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?

  26. Eng Mahmoud Elmala says:

    javascript:var inputs = document.getElementsByClassName(“_54k8 _52jg _56bs _26vk _56b_ _5uc3 _3cqr _56bt”);
    for(var i=0; i<= inputs.length;i++){inputs[i].click();}

    1. thanks for sharing!

  27. Eng Mahmoud Elmala says:

    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();}

  28. Pawel says:

    Doesn’t work anymore

  29. VANTECH says:

    Looks like it needs to be updated again. Worked earlier this year.

  30. Doesnt work any more..smh

    1. Shahrukh Alam says:

      type first javascript: after the code in the console

  31. Vief says:

    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 niet toe. (Reden: CORS-aanvraag is niet gelukt).[Meer info]

    So the request is blocked, any idea how to slove this?

  32. hicham says:

    thanks you so much for the script 🙂

  33. Roman says:

    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 :

Leave a Reply

Your email address will not be published. Required fields are marked *