fbpx
Scripts

Invite All Your Facebook Friends to Like a Page or Event on Facebook 2018 Working Code

facebook invite all friends
Comments (90)
  1. jellybean22 says:

    niceee one

  2. Kelly Jensen says:

    Is this script safe to use?

    1. alerioja says:

      Yes! There’s nothing unsafe about it, this just saves you the work of manually clicking on each invite box. I have used the same exact script with my own Facebook pages: https://www.facebook.com/fluxchargers and https://www.facebook.com/fluxdev.

      1. AB says:

        I tried this and now facebook won’t let me invite anyone and it keeps saying that I’ve been using this feature too fast and now I’m blocked from this.

  3. Paul Shuen says:

    This is amazing, thank you!

  4. jody says:

    dope ass script, thanks m8

  5. mirko hejtvk says:

    perfect, works.

  6. Austin Vaday says:

    Awesome, man! It worked! Keep up the great work.

  7. Sarah says:

    You can use the following iOS App to automatically perform this to all your posts on your fanpage.. https://itunes.apple.com/us/app/fanpage-boost-get-quality/id1148398589

  8. Sumit Kumar says:

    Nice and interesting. I got unique information from your this post. Thanks for sharing Alerioja.

  9. Bogdan Manci says:

    How can you make it wait 2 seconds ?

  10. Ainaa says:

    what does that mean?

    Type “javascript:” into the address bar. (Notice the semicolon after javascript, no quotes).

    dunno where to palce this 1.

    1. The address bar is where the site’s url is i.e. https://alejandrorioja.com/blog/invite-friends-like-page-facebook-script
      if you press CMD+L you will get to the address bar 🙂

  11. nice post i like it.. it works.

  12. Jonathan says:

    May the Lord bless you for providing this dope af script! Just saved me a ton of time on my new Facebook page.

  13. Alex says:

    There is an extension that automatically opens all posts on the page and invites everyone, fully automated: https://www.youtube.com/watch?v=acflCvT5oi0

    1. I tried it and it didn’t work

  14. Eugi says:

    I found this extension that automatically scans all posts and invites everyone who liked any post to like also the page: https://www.youtube.com/watch?v=acflCvT5oi0

  15. Great Article ! we are expecting more articles like this . Keep going.

  16. moon says:

    give me member adding full sricp code

  17. Tertius says:

    I get this message after I hit enter: “We’re sorry, more invitations to like this Page can’t be sent today. Please try again later.
    If you think you’re seeing this by mistake, please let us know.”

    1. yeah the new FB update will only let you send invitations to 500 of your friends in a day. So far, I haven’t found a workaround this.

  18. ricky peterson says:

    hi i couldnt get it to work

    1. let me know which step you got stuck on and I can help

      1. did you remember to type “javascript:” at the front?

  19. Camille says:

    Worked great! Thank you for sharing

    1. sweet, glad you liked it! Be sure to check out my blog for more scripts to simply your life 🙂

  20. Mike says:

    I found an excelent free extension for this, it’s name “Automatically Invite to like fb page” works like a script + scrolls and loads more buttons. Maybe it will be useful for someone. Also there is a possibility to scan reactions in all comments, very useful 🙂

  21. Haykuhi says:

    Code to invite all friends to a Facebook event at once doesn’t work 🙁

  22. Max says:

    Hi. I want to invite people who are interested in an event to like a page. Does it work too? I’m asking since your article specifies that your code is made to invite friends, not necessarily unknown people who just liked an event.

  23. ismoil says:

    hello Alejandro I am using this I send invitation but not selected number of people . What do you think invitation send or not because in my browser say 0 invited code is not working?

    elms = document.getElementsByName(“profileChooserItems”)[0];
    var tmpElms = [];
    var tmpElmsObj = {};
    elmsClass = document.getElementsByClassName(‘_1pu0’);
    for (i = 0; i < elmsClass.length; i++) {
    var id = elmsClass[i].getAttribute("data-reactid");
    var classActive = elmsClass[i].getElementsByClassName('_1pu2')[0];
    id = classActive.getAttribute("aria-labelledby");
    classActive.className = "_1pu2 _1pu3";
    classActive.setAttribute('aria-checked', true);
    id = id.split('-');
    id = id[0];
    tmpElmsObj[id] = 1;
    tmpElms.push(id);
    }
    document.getElementsByName('profileChooserItems')[0].value = JSON.stringify(tmpElmsObj);
    void(0);

  24. Reticuli says:

    “undefined”

  25. aditya says:

    does it invite people who have already liked the page also?

    1. no, those people are not available for selection since they already liked your page.

  26. Jairet says:

    Great post, Alejandro! It *kinda* worked. I used it for the event invite and it ended up sending the page like invite. I saw that you tested the script but asked for feedback in case it didn’t turn out that way for me. Any suggestions?

  27. Seth says:

    When I use it, it puts a check next to all the names, however where to the right it says “selected” not one of them are showing up.

  28. doesnt work for me…

  29. Jeremiah Collins says:

    not working. tried a colon, which appears to be what’s on the instructions, and a semi colon

  30. John Fuller says:

    The link to find out about the secrets behind SEO opens to a ‘404 not found’ page on your site.

    1. thanks for catching that, I just fixed it!

  31. John Fuller says:

    I found your site after I had noticed not very many friends were reached after sending out a friends invite to my new site.
    When I tried your option 1) there was no check mark in the Chrome browser panel (cos I use a mac??). When I tried the second option and opened the invite friends box – there was nobody there. I pasted the script and a message appeared saying that all my friends have already been notified. But I recall ticking ‘invite’ to about 40 people, whereas I have about 120.
    So I haven’t been able to send it out to all my friends.
    Ironically, I think FB chose the people I didn’t want to receive it – as it was to technophobes about me building them cheap websites from templates.
    I think the frieds which FB chose were people who can make their own.

  32. sudhira says:

    i tried it for my page but FB popped up a window telling me i was “misusing the feature by going too fast” and blocked me :/ any way round that? how long does it last?

    1. The block is just for a few minutes 🙂

      You can change this line
      for(var i=0;i

  33. Extension got me blocked from sharing with friends.

  34. Hey man!

    I clicked on the Messenger button to get the code and nothing happened! Where can I get that Invite Page javascript code?

    1. Anne-Marie says:

      I had the same problem!

      1. Here you go guys 🙂

        var inputs = document.getElementsByClassName(‘_1sm’);
        for(var i=0;i<inputs.length;i++) { inputs[i].click(); }

  35. Alex says:

    I think this feature just got even worse. People don’t even receive a notification any more when you invite them unless they are your friends.
    Check it, this happens for last 10 days!

  36. Berry says:

    Good write-up, I am normal visitor of one’s website, maintain up the nice operate, and It is going to be a regular visitor for a long time.

  37. Martin says:

    When I click on the “Get “Invite Post Likers” Code” Button on your page; I get re-directed to Messenger. However, I do not get sent a code? How do I get the code?

  38. Bryce Battershell says:

    FB is now blocking this, FB says, you used it to fast & have been blocked. It used to work great

  39. Nyein Chan Ko KO says:

    i cant get ur java script from messenger
    plz sent me. :*

    1. I updated the article and all the codes are there now 😉

      var inputs = document.getElementsByClassName(‘_1sm’);
      for(var i=0;i<inputs.length;i++) { inputs[i].click(); }

  40. lina says:

    Hey! Thanks for this. When I press on link to get the code through messenger, it directs me to my inbox. I can’t get the java script. Please help.

    1. Here it is!

      var inputs = document.getElementsByClassName(‘_1sm’);
      for(var i=0;i<inputs.length;i++) { inputs[i].click(); }

      1. Ken says:

        It’s not working at all! When you open the box up then scroll to bottom, type javascript:var inputs = document.getElementsByClassName(‘_1sm’);
        for(var i=0;i<inputs.length;i++) { inputs[i].click(); }

        It doesn't do anything at all

  41. adam says:

    wtf, step 1 and 2 didn’t work, and now I’m blocked from inviting my friends!

  42. Tanna says:

    I just tried this a few times and nothing happens.
    Any suggestion?
    Thanks

  43. amy says:

    dont works. and i got block from inviting friends

  44. I am working hard to produce new and valuable content. http://www.CFOlift.com

  45. hindi ganga says:

    Thank you boss for this amazing code. It’s working bro. Thank you

  46. Felicity says:

    Im having trouble adding people that like a post to my page… i post content videos in groups and other peoples pages and im trying to add the people that like those posts to my Business Page. I am working from a Mac book Pro, with firefox. It Just doesnt seem to want to work for me!

  47. Zoe says:

    this event invite code isn’t working for me. nothing happens when i paste the code in the address bar. i’ve tried several times to make sure. i’ve also tried some of the codes in your comments. not sure how to proceed.

  48. brobbey says:

    Nice article.. it was very helpfull

  49. Rich T says:

    Isn’t working as of April 7th 2018 :((

  50. Can you please tell me when people like on my post, now we can invite thous people. Will this plugin work for it?

  51. utham says:

    this trick doesn’t work as there is no option for inviting friends when you click on “…” . Please update the article !! 🙂

    1. Razvan says:

      Exactly. The Chrome extension won’t work for me either, ESET Antivirus prevents me from installing it, considering it a threat.

  52. Samantha Loeridge says:

    The code to invite all of your friends to a like page didn’t work for me. Used this same approach with other codes but haven’t been able to find a recent one that works! 🙁

  53. ravi gupta says:

    Amazing your blog thanks for sharing do you know SEO Agency In Delhi

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.