Jun 13, 2011

Remove Inactive Mafia From Your FB Friends List

Share:

UPDATE: Go here for updated instructions to remove friends from your Facebook account. The Scruffy tool outlined in this post no longer works.

It's no secret that many people have quit playing Mafia Wars. It may not directly affect your game but the impact on you is a growing list of Facebook friends who no longer play Mafia Wars. We all want a way to easily identify these people and remove them as friends. By combining a few scripts, you can do this with very little effort on your part. Pistol Pete will discuss this method on the next episode of The Informant Podcast. I decided to try it out and was quite pleased with my results.
The best and easiest way to tell who isn't playing Mafia Wars is to run the Mafia Manager by Team Spockholm. If you haven't tried this tool yet, you can find instructions here. The Mafia Manager will provide a list of all your inactive mafia members. Activity is based on a gain in experience points. The time interval of inactivity is determined by you. If you don't have two Mafia Manager runs to compare activity, run one now and come back to this project at a later date. Once your second run is complete, go to where is says "Show:" and click on the links until you get the inactive category.
Once the inactive category is showing, click on the "Compare with latest" link of your first Mafia Manager run. If you click on the latest link, there won't be anything to compare it to and all of your mafia members will be listed as inactive. You need to have a decent time interval to determine inactivity. In the example below, my scans were 13 days apart.
All of your inactive mafia members will now appear on one list. I was surprised to learn I had 2,015 inactives!
You could go to each listed members Facebook profile page by using the first link and remove them as a friend, but who has time for that? If you scroll to the bottom of the list, you will find a box that contains all the Facebook ID's of the players on your inactive list. This will come into play and be used later.
The next tool you will need to install is called PRemoveFBFriends by Scruffy's Mafia Wars Bookmarklets. With a list of Facebook ID's, it will automatically remove them for you eliminating the need for you to go to each page, scroll, click to "unfriend" and verify.
Follow the instructions below to install and use this tool.

1. Go to the Scruffy's Mafia Wars Bookmarklets Page and locate the PRemoveFBFriends bookmarklet.
2. Click, drag and drop the PRemoveFBFriends into your bookmarklet toolbar. The dragable bookmarklet is listed to the left of the purple arrow inside the bookmarklet information box.
3. Click on the purple arrow to get more information about the tool.
4. Go to your Facebook Friends Page by clicking on "Friends" under your profile image.
5. Click on "Edit Friends".

6. Click on the drop down menu and choose "All Friends". A list of all of your Facebook friends will now appear.
7. From your bookmark toolbar, click on the PRemoveFBFriends. A pink box will appear in the upper left hand corner.
8. Go to your Mafia Manager list referenced above and highlight and copy the list of inactive Facebook ID numbers. Make sure your cursor is inside the box or it will copy the links. You want the ID numbers located at the bottom of the list.
9. Click on the white box located in PRemoveFBFriends and paste the list in there.
10.  Click "Start" and wait for PRemoveFBFriends to delete all of your inactive mafia members from your Facebook friends list. If yu have a lot, this can take a while. I noticed I got an "Unknown error" box that wouldn't close but this didn't seem to affect the task at hand.
11. When the run is finished, it will say "Done" at the bottom of the script. You can see 2015 of my Facebook friends were removed.
12.  I was close to 5,000 friends and now I have 3,265. The numbers didn't match exactly because some of the ID numbers from the Mafia Manager had already been removed.
Once you do this, you will be left with a lot of mafia members who are no longer your Facebook friends. In theory, they should be easy to remove as there is a "Remove Non-Friends From My Mafia" link in the game. The problem with this is once you utilize it, it only removes so many and doesn't return for 48 hours.
I didn't have much luck. I was hoping a big chuck of my recently removed Facebook friends would be cleared from my mafia. Only one was removed and my remove non-friends link disappeared. Thanks Zynga, things were going great until you got involved!
Team Spockholm has updated the Mafia Manager to include a feature which will remove non-friends from your mafia. If you don't have that many, you can always manually remove by clicking on the red "remove" link and they will be gone. Mafia Manager will then say "removed" in green so you don't lose track of where you were.
To automate the removal of non-friends in your mafia, follow the instructions below.

1. Run the Mafia Manager by Team Spockholm. For instructions on using this tool, go here. You will notice a "in mafia not friends" category has been added.
2. Click on "in mafia not friends" and you will get a list of all of your mafia members who aren't your Facebook friends. Find the link above the list that says "Remove all non-friends from mafia" and click on it. Mafia Manager will remove them for you.
4. Wait for the run to finish. You can watch it do it's thing and there is a countdown. I had 2,553 non-friend mafia members so it took awhile. If you already removed the person since your last Mafia Manager scan, it will say "failed". When the person is successfully removed from your mafia, it will say "removed" in green.

The method of removing Facebook friends only applies to friends that are in your mafia. A list of Facebook friends who aren't in your mafia can also be pulled from the Mafia Manager by selecting the "Show friends not in mafia" link.
Scroll to the bottom of the list to get the FB ID's and remove them in the same manner as outlined for inactive mafia members.
I had 238 on this list and now they are gone. Many have been there forever since they always ignored my mafia invites.

Thanks to Pistol Pete for discussing this method on the Informant Podcast and thanks to Eike for updating the Mafia Manager so it would be compatible with the PRemoveFBFriends bookmarklet.

Article written by Jennifer Patterson, Creator of the MW Loot Lady Blog, The Mafia Wars Loot Lady Facebook Fan Page and Co-Host of The Informant Podcast.
All material is protected by copyright law

28 comments:

  1. Thanks Jen for this great article. I'll use the findings from your run to further improve the Mafia Manager!

    ReplyDelete
  2. Hi Jen thank you for the great article
    the problem with this way for me is that I might accidentally remove a lot of my friends and family members so I had to do it manually and I unfriend about 600 FB profile and it took me no more than 4 hours in total

    Alaa Ba

    ReplyDelete
  3. the FBMWAddon will remove all at once from your mafia. Sometimes it gets carried away and takes a few extras but easy enough to send new invites to the few from your MW page when you are done

    ReplyDelete
  4. thanx MWLL got rid of 291 dumbs

    ReplyDelete
  5. Thanks alot the stupid thing doesn't work right. It got rid of 37 people in shouldn't have. Jen how about fixing this piece of shit before you put it out.

    ReplyDelete
  6. @anonymous #3, When something doesn't work as it should, 90% of the time it's a user problem. Perhaps you didn't make you interval for inactivity long enough or you used the wrong list. Before calling someones work a POS, make sure it's not you. And by the way, I don't write or fix scripts, I only write about them. Maybe you should contact the author(s) and let them know what you found in a nice manner rather than criticize for something that was most likely your fault.

    ReplyDelete
  7. Jen, there's an option in the latest Spockholm Property Manager to remove non-friends from your mafia. It seemed to work pretty well, and I got rid of about 300 or so all at once instead of using the stupid dysfunctional Zynga 'Remove' feature. FYI.

    ReplyDelete
  8. wooooow. thank you SO much jen for taking the time to create this amazing tutorial.

    unbelievable what findings you make and what tools you are combining.

    you're kinda the mafiawars "mythbuster" lady! :-) (old mythbusters quote: "you're doing WHAT with WHAAAAT?!?!?!?!")

    maybe you should send your cv over to nate, just for good measure :-D

    thanks and endless RESPECT for your amazing work!

    ReplyDelete
  9. I'm just wondering, is it safe to use these scripts? I have heard people's fb or mw accounts being deactivated for using scripts.

    Can anyone clarify to me that this is 100% safe that I do NOT have to worry about my MW or FB account be compromised. Thanks - Dan

    ReplyDelete
  10. Nearly 1200 less now..thanks for this really helpful article!
    Bambi

    ReplyDelete
  11. all the while i thought have near 5000 friends playing mafia was a good thing , only to find myself kicking myself for doing this , now i spend weeks trying to narrow down and remove the trash , not to mention i have picked up so many bot users i cant participate in war help to get my achievement , every war is over in 2 seconds , i have been looking at stats on the war helpers , anyone in the multiple thousands of help is removed as probale bot users :) , your posts are always so imformative ty...

    ReplyDelete
  12. Hi, I messed up on doing this last week and lost over 1000 friends who are still in my mafia. I need them back and need them back before they all delete me from their mafia.
    Is there any way I can re-add them to mafia wars please? It would like take me forever to manually add and facebook gave me a warning....
    Any help much appreciated as with you & your peers great work.

    ReplyDelete
  13. This works perfectly and easily.

    Personally, I would make a back up of the Facebook IDs that you paste into Scruffy's Remove FB Friends tool, just in case a mistake is made, and you delete the wrong people, with the Facebook IDs, you can get the people added back.

    ReplyDelete
  14. thanks for the great post! I had removed non-MW playing friends successfully before, but now that FB has changed everything Scruffy's bmlet unfortunately doesn't work anymore, so now I have to remove over 1,400 friends manually unless someone has a better idea .... :(

    ReplyDelete
  15. Looking for the same answer to the above question...damn fb for changing stuff.

    ReplyDelete
  16. Has anyone figured a way to remove multiple friends with the new facebook format? Scruffy's script does not work on the new format.

    ReplyDelete
  17. I'm wondering the same thing - how to get this to work with the new facebook settings?

    ReplyDelete
  18. Spockholm has made a script that does exactly the same as Scruffya - but just on the new format of friends list - http://www.spockholm.com/mafia/external.php - the Remove FB friends... :O)

    As always a pleasure to be working with the tools of the spockholm team!!!

    ReplyDelete
  19. Why to delete Non FB friends from mafia ??
    Explain...

    ReplyDelete
    Replies
    1. all your mw posts are not going to these people.. they are just going in black hole.. if you do not have huge mafia then this might have impact on how much response you get for your posts..

      Delete
  20. Thanks a lot, i removed 500+ now

    ReplyDelete
  21. I did the in mafia not friends and I am watching the countdown now at 1231 remaining yikes! Most are default don's or null null, the FB refreshed :( start all over 2760 to be removed. Kind of scared.
    Thank you as always for your posts.

    ReplyDelete
  22. In mafia not friends 2760! Most are default don's or null null still kind of scary. See what happens. Thank you as always for your informational posts.

    ReplyDelete
  23. it is nice concept and the spockholm part works fine for me .. but the scruffy's tool does not work. it just gives errors for all the ID's .. and does not remove any friends..

    ReplyDelete
  24. Scruffy's does not work, is there a new tool???

    ReplyDelete
  25. is there an update to this? i get the inactive friends list but cannot get scruffy's PRemoveFBfriends bookmarklet to run from my FB friends list.

    ReplyDelete
  26. hi i can't find PRemoveFBFriends its just an empty page when i click on the link

    ReplyDelete

Comments are moderated and will not be published until they are reviewed. Please don't use bad language or insult others. For faster feedback on questions, visit our fan page.