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

Cancel all sent friend requests pending on Facebook
Comments (42)
  1. 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!

  2. NJONGOVUYO says:

    Thank you so much for this script

  3. Tony Sa says:

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

    1. Happy it was helpful 🙂

  4. CN says:

    works like a charm 😀

    1. Happy it was helpful! 🙂

  5. Charlie Kao says:

    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.

  6. ayoub touti says:

    thank u so much

  7. Sachin says:

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

  8. Mike says:

    Does not work….

  9. NA says:

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

  10. Abdu says:

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

  11. Anas says:

    As of October 7th, it doesn’t work

  12. Bilal Omar says:

    Thanks you

  13. meowy1 says:

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

  14. 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);

  15. Roshan says:

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

  16. Vivek says:

    It worked like a charm. Thanks Alejandro.

  17. 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

  18. Haqif says:

    It Doesn’t work ;(

  19. 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

  20. Wilson De Villa says:

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

  21. 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?

  22. 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!

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

  24. Pawel says:

    Doesn’t work anymore

  25. VANTECH says:

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

  26. Doesnt work any more..smh

    1. Shahrukh Alam says:

      type first javascript: after the code in the console

  27. 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 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?

  28. hicham says:

    thanks you so much for the script 🙂

  29. 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 : https://writeversity.com

Leave a Reply

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