Our Trick to Allow Mass Add Friends on Facebook

When you’re looking to boost your friends list quickly with a lot of users with similar interests, we have a secret to help you do so.

I want to show you my trick about adding specific friends as targets on Facebook with a mass “Add friend” click Javascript script. This will help you gather friends on Facebook with similar interests and allow you to increase the momentum of your marketing strategy.

mass add friends

Step 1. Go to Facebook.com and type this on the FB search bar. See above image for an example.

People who are not my friends and like Marketing and Internet marketing

Note: You can modify this by just typing it manually or customize it on the right side. Look for “See more” – See also above image.

Step 2.

The CODE that you need to copy and paste on the CONSOLE tab (see Step 3 for instruction on how to go to CONSOLE using different browsers):

javascript:var inputs = document.getElementsByClassName('_42ft _4jy0 FriendRequestAdd addButton _4jy3 _517h'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }

Step 3:

Paste the code and hit ENTER. Instructions for browsers:

For Chrome:

1. Press F12 on your keyboard and click the “Console” tab
2. Paste the code into the box at the bottom and press enter.

For Firefox:
1. Press CTRL + Shift + K
2. Paste the code into the box at the bottom and press enter.

For Internet Explorer:
1. Press F12 on your keyboard
2. Click the “Console” tab
7. Paste the code into the box at the bottom and press enter.

mass add friends

Note: IMPORTANT!  You’ll get a message from Facebook to type a Captcha to verify that you are a human. Do not abuse this method you might get banned on Facebook. Adding 50-70 friends a day is a good limit.

  • Ryan Shaw

    Wow, this is powerful stuff. I didn’t know about this shortcut!

  • Jonathan

    Am I doing something wrong…I get an error which says “token illegal” ?

    • John Mark

      Jonathan: Try again it should work now. The copy and paste from the WP post had some issues.

  • Jonathan

    Thanks John, that worked fine! I wasn’t sure if it had at first and then next minute I had some random person accept my friend request on FB 😉

  • Tony Brula

    Can you walk me through this like I’m a F’n 3rd grader because I must be doing something wrong.

  • John Mark

    The code is now updated! Facebook changed the class ID. It should work now 😉

  • ehm.. this is works! but for the sake of simplicity, how to make the script automatic? like change it into extension or greasemonkey/tampermonkey script ?

  • joe

    ,aybe im doing something wrong? but it only requests 3 people sometimes. do i just press enter after i paste the script and thats it? or what thanks

  • i think Facebook will ban me if i do this mass add… otherwise thanks for the script i will use it other way 🙂
    find me on viralberg.com as a contributor !

    • Yes!
      And now you can not add more than 100 friends a day…. And really this is disgusting for blackhat spammer! 😛
      By the way you website is looking awesome!

  • Sonal Thamankar

    F**k! This is awsome code.
    Thank U and +9999999999…….. Salutes to Rayan Shaw.

    Suggestion: instead of pasting it in console or other, directly paste it in addres bar and just type “javascript: ” at start of code, before pressing enter

    • Ana

      Thanks!

  • aabulelas

    No longer working.

    • MARSHALL SARIR

      _____I’m a coder and as I know new browsers especially Chrome does NOT execute JScripts starting with “javascript:”. So the clean and tested code is down below and remember ONLY USE CHROME! Just the original CHROME, not even Chrome-based browsers like Opera or something. Just use Chrome… Anyway here’s the working code in 2016/Feb… :

      var inputs = document.getElementsByClassName(‘_42ft _4jy0 FriendRequestAdd addButton _4jy3 _517h’); for(var i=0; i

  • aabulelas

    This worked for me.

    javascript:var inputs = document.getElementsByClassName(‘_42ft _4jy0 FriendRequestAdd addButton _4jy3 _517h _51sy’); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }

  • Sadeep Darshana

    thanx it wrks

  • Jessica Bowman

    Anyone that knows how to do this I need help! Send me a friend request or and inbox me thank

    • shawn king

      I can call and help you, I am Shawn

    • shawn king

      Whats your number

  • Alejandro B. Martin

    javascript:var inputs = document.getElementsByClassName(‘_42ft _4jy0 FriendRequestAdd addButton _4jy3 _517h’); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }

  • SickPublisher

    It still work Ryan

    search by name, for targeting gender
    choosing city, for targeting city

    Thanks Ryan, please visit http://www.sickpublisher.com

  • James

    I CAN NOT FIGURE THIS OUT!! It does not work. is this because i’m using a MAC with chrome?

  • valentine cheri

    pls help us to do this, cause when i press f12 on my laptop it denied STOP my browser is chrome
    how pls respond fast

  • Paul

    How about twitter? Can you advise me how we can follow bulk in Twitter in the same way you showed?

    • Ryan Shaw

      This is a different platform. I was able to grow up to 20,000 followers on Twitter by mass following and then unfollowing for a few months. The results weren’t stellar and I now have over 7,500 followers and get around 5 visits per month from tweets. Conclusion : The followers look cool, but you need to really connect with real people on Twitter and engage socially since there are many bots and inactive accounts, it’s even more important.

  • Exe Paul

    Try this :

    var intervalID = setInterval(function () {

    javascript:var inputs = document.getElementsByClassName(“_42ft _4jy0 _3-99 _4jy3 _517h _51sy”); for(var i=0; i<inputs.length;i++) { inputs[i].click();8 }
    }, 100);

  • My Lê

    This is the script for who have too many friend requests and need cancel
    1. Access to this link https://m.facebook.com/friends/center/requests/outgoing
    2. Run this script on your browser
    javascript:var inputs = document.getElementsByClassName(‘_42ft _4jy0 FriendRequestAdd addButton _4jy3 _517h’); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }