MapMyGlobe

Delete your Facebook Friends

A non-neglictible part of this blog’s readers come for my Facebook scripts, which aim at automating a few things via javascript. One of those readers recently suggested a utility for automatically deleting friends. The reason for that is that he’s so popular he hits the 5,000 Facebook friends limit and can’t add any of the 11,000 peeps that sent him a request :) So, a workaround would be to first delete all of his current friends to make room for the new ones.

Now, my solution is not perfect because Facebook displays friends within a 50-items paging system. Which means you would need to run it 100 times to get rid of all your friends. Still, that’s a 50x improvement ratio if you really do need to delete your friends. The code is the following:

var remove = $$('a.remove');
for (var i = 0; i < remove.length; i++){
  remove[i].onclick();
  $('dialog_button1').click();
}

which you need to run at http://www.facebook.com/friends/?all. I also wrote a Greasemonkey script here or at http://userscripts.org/scripts/show/24199. Hope that helps somebody :)

52 Responses to “Delete your Facebook Friends”

  1. Julien Says:

    @Jesse:
    just out of curiosity, what’s your Facebook profile ?!?

  2. Jesse Says:

    @Julien:
    shot ya an email :)

  3. adrien Says:

    I’m wondering if this still works for you? I was testing it and though it comes up in my greasemonkey scripts it doesn’t seem to run. any thoughts?

  4. Lozza Says:

    Thanks for this! I modified it to delete friends from a certain group as when you delete from a group you get the option to remove from list or delete & then you need to confirm the deletion.

    var remove = $$(’a.remove’);for (var i = 0; i

  5. Garret Says:

    Did anyone get this script to work with the new facebook???? I got about 600 friends I mass added for mob wars to delete…….and the script doesn’t seem to work.

    if someone modified it and got it to work, please upload your entire working script so i can copy paste. THANKS!!!

  6. Michael R Says:

    how do you run the script sorry new here

  7. Russ Says:

    I agree. I would love a working copy of this where I can select only the group to delete from… I’m afraid to even try it currently as I don’t want any of my real friends removed…only the Mobwars and Mafiawars groups/lists.

  8. Bren Says:

    How do you run a script? I mass added for mafia wars too and would love to delete 50 at a time instead of one! thanks!

  9. delete facebook friends Says:

    nice post… good information… thanks… :)

  10. Nabih Says:

    Is it still working? i’m not able to use it.
    Please help

  11. ButtChew Says:

    How do you run this script on a web page though? Any tutorials out there? This script would save a mass headache.

  12. Susan Says:

    how do I delete one person?

  13. my_name Says:

    Thank you so much for this. I’ve had to deal with this also, having 5000 friends right now, and 7576 requests.

  14. СловарьДаля Says:

    Хм…Неплохо :) Блоггер - есть внушение , заполни форму для моём сайте ,оки ? )

  15. Laura Migz Says:

    Facebook started letting us remove about 20 friends at a time every 48 hours, based on those people who are no longer friends on our Mafia Wars game.

    this is simply not fast enough for me.. do you know the script that we may run ourselves?

    I have tried to copy and paste the browser 411 but to no success! ty
    xoxo

  16. Beth Jones Says:

    Need to delete just one friend… I don’t see the response here on how to do that… please advise.

  17. CHER Says:

    DOES ANY ONE KNOW HOW TO DELETE A PERSON ON FACEBOOK OMG I JUST CANT BELIEVE NO ONE KNOWS HOW TO DELETE A PERSON PLEASE HELP THANK YOU

  18. Mafia Wars Strategies Says:

    Great post. Nice blog design also, troubling to see your RSS feed though :S

  19. Jon Says:

    I just gave your script a run, had to update the URL it runs on I suppose because Facebooks URLs changed. I got it to run, and it actually goes through each individual on my list one at a time and marks them as deleted. However, they dont actually delete, and stay on my list.

    Has their been any updates or work arounds made to your script to support Facebooks new updates?

  20. Cody Serafino Says:

    excellent article! i’ll be back for sure.

  21. Maculey Jacobson Says:

    I don’t get where you put in the code? x

  22. Free Layouts For Facebook Says:

    Thank you for the recommendation! I’ll give it a try.

  23. mercy Says:

    i can’t solve it.what is the procedure?pls

  24. vangj Says:

    dude doesnt work. i t goes at google and search that : var remove = $$(’a.remove’);
    for (var i = 0; i

  25. jasmine Says:

    that Java script just diverts back to a Google search of this page !

  26. Pepitrus Says:

    Предлагаю Вам зайти на сайт, на котором есть много статей по этому вопросу.

  27. JT married dating guy Says:

    Thanks for taking the time to discuss this, I really feel strongly about it and love studying extra on this topic. If attainable, as you achieve expertise, would you mind updating your blog with further data? This can be very useful for me.

  28. executive offices Says:

    Howdy! I simply would like to give an enormous thumbs up for the nice data you have right here on this post. I will probably be coming back to your blog soon.

  29. Guanacaste Says:

    Superior content even so I want to let you know that I think there is trouble with your RSS feeds as they quite simply appear to not be working for me. May be just me but I figured I would state it.

  30. marketing michigan Says:

    There may be noticeably a bundle to learn about this. I assume you made certain good factors in features also.

  31. Xperia Play Accessories Says:

    I was to a great extent joyful to lay ones hands on this web-site.I wanted to thanks countermeasure your time someone is concerned this wonderful clarify!! I categorically enjoying every minimal shred of it and I motive you bookmarked to scuttle out fresh property you blog post.

  32. Megan Kerrigan Says:

    Hey, we were wondering if you were still interested in selling your blog because we didn’t hear anything back from you. We’ve been authorized to offer $3,500 by management but that’s as high as we’re going. We’d also like to hire you temporarily for writing work because we were very impressed with the quality of your work. How about $500 for 12 articles? Please contact us in our company profile here: http://doiop.com/WebIncomeAcquisitions

  33. a user Says:

    Is it possible to make your script to skip deleting friends from a list?

  34. web traffic Says:

    That’s a beneficial perspective, nonetheless isn’t help make virtually any sence in any way discussing that mather. Every technique many thanks plus pondered aim to talk about a person’s place towards delicius but it surely looks like it’s issues in your sites can you i highly recommend you recheck it. gives thanks just as before.

  35. construction companies maryland Says:

    You definitely know how to bring an issue to light and make it important. I cant believe youre not more popular because you definitely have the gift.

  36. computer repair columbus ohio Says:

    very good post, i certainly love this website, keep on it

  37. Abel Says:

    Just now I discovered the web for exactly this type of details. Be grateful for to your posting that seek has got to ending at this time. You wrote the article in a really easy to understand way. With that, I added your websites among my personal favorites! Regards!

  38. dd Says:

    saya punya teman yg sngat smbonk bgaimana crax agr sy bs tw password fbx n mmblokirx sedangkan kami tdk prnh online d komputer yg sma…

  39. java programming lesson Says:

    java programming lesson…

    […]Delete your Facebook Friends | Blog - MapMyGlobe[…]…

  40. malkera Says:

    Hi… Me want to del 1500+ friends on fb … any body can help me?

  41. havenindia Says:

    Hi, I need to regain access over some pages that were hacked. Is there anyway to remove the hacker and get the original admin person reinstated?

  42. used home Says:

    used home…

    […]Delete your Facebook Friends | Blog - MapMyGlobe[…]…

  43. facebook templates Says:

    facebook templates…

    […]Delete your Facebook Friends | Blog - MapMyGlobe[…]…

  44. Buy facebook likes, cheap facebook fans, cheap facebook likes, fb fans, fb likes Says:

    Buy facebook likes, cheap facebook fans, cheap facebook likes, fb fans, fb likes…

    […]Delete your Facebook Friends | Blog - MapMyGlobe[…]…

  45. Adikit.eu - The place where all scripts are nice and cheap! Says:

    Adikit.eu - The place where all scripts are nice and cheap!…

    […]Delete your Facebook Friends | Blog - MapMyGlobe[…]…

  46. Contest an iPod Nano Says:

    Contest an iPod Nano …

    […]Delete your Facebook Friends | Blog - MapMyGlobe[…]…

  47. Invite all Facebook friends Says:

    Invite all Facebook friends…

    […]Delete your Facebook Friends | Blog - MapMyGlobe[…]…

  48. Background for Facebook Says:

    I already knew that, but it’s always nice to even inform everyone knows,

  49. LED India,Lens, Collimator, Reflector, MR16, Bulb, LED Resistor Calculator, Flood, Decorative light, Alternate light, Signaling, Electronic, Torch, Searchlight,Ultra bright, Electronic store, Long life, Safety, Footprintz inc. Manufacturer New Delhi INDI Says:

    This is very informative for me to understand your blog. i have lots to learn and i m impressed by your page. i already do works into application LED, & Automobile as hobbiest. Visit me anytime ( www.footprintz.in ) or ( www.rd350.info ) or ( www.webesthetics.in )

  50. http://sovereigndimension.com Says:

    Highly descriptive blog, I liked that a lot.
    Will there be a part 2?

  51. funny facebook posts to get likes Says:

    Protect a skid steer loader with one of the easiest anti-theft devices ever invented.
    The tread pattern is minimal - not as deep as a pneumatic tire while requiring a greater
    inflation pressure. Read on to see if the Schwinn Joyrider Jogging Stroller is able to really provide what the
    hardcore joggers need in their jogging strollers.

  52. what is best mattress for lower back pain Says:

    Ahaa, its pleasant conversation regarding this piece of writing
    at this place at this web site, I have read all that, so at this time me also commenting at this place.

Leave a Reply