MapMyGlobe

Facebook Auto Add Friends

For all of you GreaseMonkey and Bookmarklets aficionados who get added on Facebook a lot, here’s a quick snippet I wrote to confirm all friend requests at once (Facebook’s interface normally has you click on confirm and ask for details for each friend which is a pain):

var inputbuttons = $$('input.inputbutton');
for (var i = 0; i < inputbuttons.length; i++){
  if (inputbuttons[i].value=="Confirm"){
    if (inputbuttons[i].attributes['onclick'].value.substring(8,24)
                                               == "click_add_friend"){
      inputbuttons[i].click();
    }
  }
}

Update: I’ve extended this script to automatically ignore all other requests (invitations to groups, applications…). See the updated script at Facebook Auto Requests Ignore.

80 Responses to “Facebook Auto Add Friends”

  1. Tracy Says:

    How do you install it?

  2. Julien Says:

    This is a javascript that you need your browser to run each time you are on Facebook’s request page. Either manually paste it into the javascript console, or look into the two links I mentioned at the start of the article.

  3. Facebook Auto Ignore Requests | Blog - MapMyGlobe Says:

    […] you’ve read my page on Facebook Auto Add Friends you know that I have a fake profile on Facebook that gets added a lot. If you’re French, […]

  4. Lucy Says:

    I cant get this to work in Greasemonkey and I have 1000 friend requests to accept.

    Is it possible to make one which is a file you install?

    Thanks

  5. Julien Says:

    See my comment on http://blog.mapmyglobe.com/facebook-auto-accept-requests/ for a fix.

    As for the Greasemonkey script, I’ll write one some day. For now you can run it inside a javascript console.

  6. Julien Says:

    Oh and by the way: don’t forget you’ve got a 5,000 friends limit on Facebook !! :D

  7. Lucy Says:

    Ok so how do I install the fix?

    Its not working, its really annoying.

    I gather I put the script in the includes section but whats the excludes and Namespace?

    Thank you so much.

  8. Julien Says:

    @Lucy:
    I finally wrote a Greasemonkey script for this: it can be found at http://userscripts.org/scripts/show/23345, or directly here at http://blog.mapmyglobe.com/gmscripts/facebook-auto-confirm-friend-requests.user.js

    Note that it also accept any Group request.

  9. marco perez Says:

    umm speaking of auto add friend… umm where would i put this code :P

  10. Terri Says:

    Hi I’m trying to find instructions about adding friends…I joined the YoVille game and would like to add people as friends to build up my crew…however…when you invite..I can’t see anywhere that let’s me ensure they go to my ‘limited profile folder’ and not my main friends folder. It’s no good for me to change it after they accept by adding them to the custom settings part of privacy controls because by then they’ve seen all the info. Thxs for any help you can provide.

  11. Slackety Pants Says:

    Thank you, thank you! Awsome.

  12. long ripps Says:

    i installed the greasemonkey script, but nothing happens, how long does it take for this to work?

    thanx in advance

    wesley

  13. Brian Says:

    Is there a way to set the dropdown listbox choice for what group to add all these friends to?

  14. Alessandro Says:

    Is it possible that i could find a way to use this in javascript because i would like to turn this into a bookmarklet to use on other browsers?

    Btw good job on making it. I trust it works using it your way. :)

  15. spencer Says:

    I have no real knowledge of scripts or html but I would really like to be able to accept people automatically. Can I just copy and paste the code? If so, where do I paste it? Please let me know!!

  16. Lee V Says:

    I agree with Brian”Is there a way to set the dropdown listbox choice for what group to add all these friends to?” This feature would be good along with having it as a bookmarklet :)

  17. izulthea Says:

    I`ll try. Thanks.

  18. DJ Says:

    I’m over the facebook 5000 friend limit. Is there a way to auto-reply each new request coming in & ignore the request?

  19. Ahmed Mohammed Says:

    this shit dosent work !!

  20. Jody Dy Says:

    Excellent!! Enjoying your ideas. Top Job!.

  21. Agripina Allenbrand Says:

    Oh wow just what u’ve impressed upon us here definitely made my day! (ok i know u must think im a retard haha!) relaxing games haha! killmeimbored.com has them!

  22. suki Says:

    Found a good site to share, they have latest Free HD Movie online. Here the link www.hdstations.tk/

  23. tamir Says:

    how can i add friend at facebook auto?

  24. musthafa Says:

    haifacebookmeadd?

  25. Adwords coupon Says:

    http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=140457499974&ssPageName=STRK:MESELX:IT

  26. info notebook Says:

    How to add on for firefox?

  27. riad Says:

    i didn’t get JavaScript Console in my Firefox web browser.but i’ve got Java Console in my Browser.though, i’ve tried many times to past your mentioned auto facebook friends request accept javascript code. but i gidn’t getting any option to past into the Java Console.

    please, concern me how can i get over from this problem.

    thnx

    riad

  28. mankiratchawla Says:

    i have new friends in my facebook only for india
    please

  29. malcolm Says:

    Hi everyone,

    I thank God for you all and want to bless everyone and to do so we have to test the spirits within the churches . We humble ask for you personally to release $24,ooo to show others how God does things concerning all goods and services. Our tithe and offerings are 100% of all we are and have.
    We hope you understood from the heart our last communion, loving you all unconditionally Mighty Mal, through the grace of God, Amen,Re;last communication email was Hi Brian and Bobby, ARMAGEDDON

    The Spirit of the Sovereign Lord is upon me,

    Because the Lord has anointed me

    To preach the good news to the poor.

    He has sent me to bind up the

    Brokenhearted,

    To proclaim freedom to the captives

    And release from darkness for the

    Prisoners

    To proclaim the year of the Lord’s favor

    And the day of vengeance of our God,

    To comfort all who mourn, and provide for those who grieve in

    Zion-

    To bestow on them a crown of beauty

    Instead of ashes,

    The oil of gladness

    Instead of mourning,

    And a garment of praise

    Instead of a spirit of despair. They will be called oaks of

    Righteousness planting of the Lord

    For the display of His splendor.

    WARNING Psalm 2 so, do not harden your hearts in the days of Exodus.

    This is Armageddon.

    The full Truth V’s fear, pride and selfishness.

    We declare war; We do not fight against flesh and blood but against all principalities and powers that exalt itself above God our creator.

    The Big Question!!!

    Who am I? Where did I come from? , And where am I going.

    We thank God for every soul that exists because without one of them creation would not even exist, e.g.; if we take one element out of water it is just 2 gasses.

    With all humbleness and understanding We would like to liberate all people on earth by revealing the truth about all things.

    For the creation itself eagerly awaits for the Sons’ of God to be revealed.

    I was a carnal man, fear, pride and selfishness ruled my life which all ended in futility.

    NOW,

    I am one like the Son of man,

    He who has an ear let him hear what the Spirit is saying to the churches

    The Spirit that is within Me is Isaiah 45, John 1, Genesis 1; 1.2, revelations 1; 13-20-22, Revelations 19; 11-16, John 16-13-15.

    Romans 6, 7 and 8.

    Psalm 67, my year of birth.

    Remember Psalm 100 and Jeremiah 29; 14

    Remember Romans 12; 2

    Remember that we are the place where God lives, His Holy Temple.

    I am a man consumed by God Himself.

    Understand and adhere to Mathew 5; 38-48.

    Are we not all children of the eternal Godhead?

    Understand Ephesians 1. And Ephesians 2; 8-10

    My core is Corinthians 13.

    Re; Galatians 1; 1-5

    John 1

    Recall how they thought John the Baptist did not eat or drink anything and was labelled a demon, then when Jesus Christ came eating and drinking they called Him a glutton and a wine babbler.

    As Paul said I could say that all things are lawful for Me but not all things are good for the Spirit, all things are lawful for Me but I will not be in bondage to anything.

    Remember the people saying to Jesus Christ that if you are the Messiah, then Elijah has to walk the earth before you come and He replied, if you are willing to believe, there is Elijah in John the Baptist.

    We are the Body Of Christ with His Spirit living and ruling at all times in our vessel.

    You are either with Us or against Us.

    Please email for continual communion with us., and full understanding of the mysteries of the Word of God ( the Holy Bible)

    For more communion, please reply.malcolmvernesmith@gmail.com

  30. choatics apiz Says:

    bla-bla-bla…

  31. Cutyy Says:

    airasia.webs.com
    alamanda-putrajaya.webs.com
    appeton.webs.com
    astroawani.webs.com
    astroprima.webs.com
    astroria.webs.com
    bernama.webs.com
    beryls.webs.com
    berylschocolate.webs.com
    big-apple.webs.com
    blackberry-mobile.webs.com
    buenoaires.webs.com
    buenovista.webs.com
    bugativeyron.webs.com
    callibre.webs.com
    calvinklein-man.webs.com
    calvinklein-woman.webs.com
    celvinklein.webs.com
    cevrolet.webs.com
    cheerss.webs.com
    china-town.webs.com
    cikaro.webs.com
    cimb.webs.com
    cimbbank.webs.com
    cimbclicks.webs.com
    dataduplicate.webs.com
    diesel-jeans.webs.com
    digitel.webs.com
    discoverychannels.webs.com
    dkny-jeans.webs.com
    econsave.webs.com
    electrostar.webs.com
    facebook-layout.webs.com
    food-tech.webs.com
    frenster.webs.com
    garrage.webs.com
    goldenscreencinemas.webs.com
    google-8.webs.com
    googleadwords.webs.com
    grandcarrera.webs.com
    guess-store.webs.com
    harakah.webs.com
    hongleong.webs.com
    hotticket.webs.com
    hpa-industries.webs.com
    hugo-store.webs.com
    i-con.webs.com
    jeanshop.webs.com
    jeansshop.webs.com
    jw-marriott.webs.com
    ktmb.webs.com
    lelong.webs.com
    leviman.webs.com
    levistrauss.webs.com
    lowyat.webs.com
    maxisbroadband.webs.com
    maybank2u.webs.com
    mesra.webs.com
    misterpotato.webs.com
    motorol.webs.com
    mutiarabeach.webs.com
    mymesra.webs.com
    mysuzuki.webs.com
    mytoyota.webs.com
    myyamaha.webs.com
    ntv7.webs.com
    oxfords.webs.com
    pacific-regency.webs.com
    petronas.webs.com
    polosport.webs.com
    redwinston.webs.com
    reuter.webs.com
    ricson.webs.com
    romps.webs.com
    samsung-mobile.webs.com
    sonyerricson.webs.com
    star-hill.webs.com
    u-mobile.webs.com
    unfacebook.webs.com
    utusan.webs.com
    white-pearl.webs.com
    windowvista.webs.com
    www.dataduplicate.webs.com
    yamaha-music.webs.com

  32. Genia Majette Says:

    This is a really good blog, I located your blog site looking around aol for a related subject and came to this. I couldnt discover to much additional information and facts on this posting, so it was nice to discover this one. I probably will end up being back again to check out some other articles that you have another time.

  33. Opal Miranda Says:

    I’m using search engines reader by the way which wall stickers it correctly.

  34. facebook mondaytask Says:

    i can recommend that too

  35. LexiFey Says:

    Any status on a code that automatically adds everyone as well to a list? Thanks for this either way!

  36. iphone 5 Says:

    After study a few of the blog posts on your website now, and I truly like your way of blogging. I bookmarked it to my bookmark website list and will be checking back soon. Pls check out my web site as well and let me know what you think.

  37. Matthew Jevnikar Says:

    I think it is a good point of view. I most often meet people who rather say what they suppose others want to hear. Good and well written! I will come back to your site for sure!

  38. grace carnate Says:

    hi joy kmusta ang work mo cgro lgi kang pagod ano?dont wory mla[it knang yumaman

  39. grace carnate Says:

    ang hrap noh,pag and2 lng sa bahay always boring buti kpa joy my work kna

  40. wonder file Says:

    One thing is the fact that one of the most common incentives for making use of your credit cards is a cash-back or rebate provision. Generally, you’re going to get 1-5% back upon various buying. Depending on the credit cards, you may get 1% returning on most purchases, and 5% back on purchases made on convenience stores, gas stations, grocery stores plus ‘member merchants’.

  41. Tony Kowalke Says:

    Do you want to put a link on my website?

  42. lionel fastrack layouts Says:

    I’ve considered several web firelogs and I may for sure point out that this one is my favorite .

  43. Achrak Says:

    I’ve found your blog to be quite informative. As someone new to blogging, I’m visiting various websites to learn about more about blogging in general. I’m going to bookmark your blog post so I can from time to time.

  44. tasbih cantik Says:

    thank i will try for m FB…

  45. Francisca Salton Says:

    There are some interesting cut-off dates in this article however I don’t know if I see all of them heart to heart. There is some validity but I will take hold opinion till I look into it further. Good article , thanks and we would like extra! Added to FeedBurner as nicely

  46. Chia Yurkovich Says:

    That is very interesting, You are a very professional blogger. I’ve joined your feed and sit up for in quest of extra of your excellent post. Additionally, I have shared your site in my social networks!

  47. Ted Howkins Says:

    I found your interesting topic by searching Google. Looks like your skillful blog have allot of readers at your exclusive weblog. I find it to be a success story for every website maker.

  48. modelki forum Says:

    It’s exhausting to seek out educated folks on this matter, however you sound like you already know what you’re talking about! Thanks

  49. unlock iphone nashville Says:

    Cool website!! Thanks for the info!!!

  50. Mignon Playford Says:

    I intellection its a lot of abundant complicated. Thanks for substance. sry for my english

  51. social media Says:

    Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this category. If it is possible, as you gain experience, would you mind updating your web blog with more precise? It is extremely helpful for me.

  52. Energy Green Says:

    hello there and thank you for your info – I have definitely picked up anything new from right here. I did however expertise several technical points using this site, since I experienced to reload the website many times previous to I could get it to load correctly. I had been wondering if your web host is OK? Not that I’m complaining, but slow loading instances times will very frequently affect your placement in google and can damage your high-quality score if advertising and marketing with Adwords. Well I am adding this RSS to my email and could look out for a lot more of your respective fascinating content. Make sure you update this again very soon..

  53. Dry Fishes Says:

    goodpoints there. I did my own search on

  54. poker bonus Says:

    You had excellent tips here. I did an exploration on the field and found out that probably many of us will agree with your blog.

  55. creed only Says:

    I GOT A CRAZY IDEA FOR U, DONT DO IT ” lmaooo !!!!!

  56. funny cats Says:

    Today, while I was at work, my sister stole my iphone and tested to see if it can survive a 40 foot drop, just so she can be a youtube sensation. My apple ipad is now broken and she has 83 views. I know this is totally off topic but I had to share it with someone!

  57. billystern Says:

    I’m trading currency forex brokers metatrder demo http://2pipfixed.com using autotrader EA and scalping. I do this from my home as a part time job. They are a very honest broker.

  58. its work here new code Says:

    plugin auto add friends check it here smstoplam___dot com ……… just so she can be a youtube sensation. My apple ipad is now broken and she has 83 views. I know this is totally off topic but I had to share it with someone!

  59. JJ Says:

    I recently reached the 5000 friend limit. Is there a way to send an auto-response to people who try adding my personal page that directs them toward my fan page?

  60. los angeles limousine Says:

    It’s actually a great and helpful piece of info. I’m happy that you shared this useful info with us. Please stay us informed like this. Thanks for sharing.

  61. monkr Says:

    hello everyone!

    where can I find top Free masturbation sex?

    This only have I found Free masturbation sex

    thanks

  62. computer repair hampton cove al Says:

    Some really tremendous work on behalf of the owner of this web site , absolutely outstanding subject material .

  63. web traffic Says:

    I think one of your advertisings caused my browser to resize, you might want to put that on your blacklist.

  64. Nery Hagen Says:

    this is usually a excellent website. I have never been through such top quality satisfied. My opportunity is pretty pleased. I will be to look at your site regurly as well as hope you update additional. We shall recommend my close friends for this location. The data will likely be helpful for alternative living. I suggest these destination to everybody. I like experiencing it a great deal. Thanks throughout just like good quality articles.

  65. buy websites Says:

    Howdy, i learn your weblog occasionally and that i own an analogous one and i used to be simply wondering for those who get numerous spam feedback? In that case how do you forestall it, any plugin or anything you may advise? I get a lot recently it is driving me mad so any help could be very a lot appreciated. Anyway, in my language, there are not a lot good source like this.

  66. peace river country escorts Says:

    I really like your writing style, excellent information, appreciate it for putting up : D.

  67. Osaczona opis odcinków 141 Says:

    I was very happy to seek out this web-site.I needed to thanks to your time for this wonderful learn!! I positively having fun with every little bit of it and I have you bookmarked to take a look at new stuff you blog post.

  68. URLJOB New York Jobs Says:

    I have really enjoyed surfing around this site. After all I’ll be subscribing to your feed and I hope you write again soon!

  69. programy na telefon Says:

    Keep working ,great job!

  70. get back together poems Says:

    I\’m trying to find a way to get my ex back…anything! Its hard when a relationship ends over a misunderstanding.

  71. Centrale Vapeur Domena Says:

    Some genuinely wonderful posts on this site, thankyou for contribution.

  72. android x Says:

    This site is in fact a walk-through it actually will be the information you desired relating to this and didn’t know who ought to. Glimpse here, and you’ll undoubtedly discover it.

  73. Transportation to Italy Says:

    Websites we think you should visit…

    […]although websites we backlink to below are considerably not related to ours, we feel they are actually worth a go through, so have a look[…]……

  74. Jason Gregoire Jerseys Says:

    where to buy Premier and Stitched Lyon jerseys ?? …

    […]we adivce go to this website to see more about Lyon jerseys and others. […]…

  75. costume sur mesure Says:

    Another interesting information , congratulation I add your website in my bookmarks right now ;-)

  76. Keneth Asmussen Says:

    Have you noticed the news has changed its approach recently? What used to neve be brought up or discussed has changed. It is that time to chagnge our stance on this though.

  77. Bloggersetu Says:

    Thanks info friends, i like this, this a very easy and simple :D

  78. all things travelling Says:

    all things travelling…

    […]p May I suggest an add button for facebook? Thanks a lot for currently being p3[…]…

  79. Leo Says:

    There is noticeably a bundle to know about this.I assume you made certain nice points in features also.

  80. louis vuitton bags cheap Says:

    Grow just a bit of cybersex on hardcore full-grown video chat. Ally existent shacking up small talk on matured webcams and rule your current XXX porn large screen and dirty videochat shows.

Leave a Reply