Removing users from Facebook event

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
tonyyall
Posts: 3
Joined: Tue Aug 02, 2011 4:16 pm

Removing users from Facebook event

Post by tonyyall » Tue Aug 02, 2011 4:22 pm

Hey!

I was in the situation the other day that I needed to remove some users who wern't gonna attend from my event, since I needed the amount of total users to be under 5,000 so I could message them.

Some guy in irc.mozilla.org #firefox helped me make this. I forgot his name, but if you're reading this, please hollar. And thanks a bunch mate, you saved my rep.

Anyway, it was his wish that I shared this with y'all, so here it goes:

Code: Select all

# facebook.js

var i, j;
for (i = 0; i < 7; i++) {
  iimPlay("part_a");
  for (j = 0; j < 99; j++) {
    iimPlay("part_b");
  }
}

Code: Select all

# part_a.iim

VERSION BUILD=7210419 RECORDER=FX
TAB T=1
URL GOTO=http://www.facebook.com/event.php?eid=N
CLICK X=190 Y=693

Code: Select all

# part_b.iim

VERSION BUILD=7210419 RECORDER=FX
TAB T=1
WAIT SECONDS=3
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:/ajax/events/profilebrowser/remove.php ATTR=ID:*
WAIT SECONDS=3
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:ok&&VALUE:Okay
Tom, Tech Support
Posts: 3527
Joined: Mon May 31, 2010 4:59 pm

Re: Removing users from Facebook event

Post by Tom, Tech Support » Wed Aug 03, 2011 1:59 pm

Thanks for sharing the solution here Tony!
Regards,

Tom, iMacros Support
lordmenace
Posts: 1
Joined: Tue Sep 06, 2011 7:01 am

Re: Removing users from Facebook event

Post by lordmenace » Mon Sep 12, 2011 3:43 pm

Hey everyone, so how do I type this code in to get it to work? I think it has a hard time with the Javascript. Errors out. How do i reference the JS file or do I edit it directly into the macro?
Tom, Tech Support
Posts: 3527
Joined: Mon May 31, 2010 4:59 pm

Re: Removing users from Facebook event

Post by Tom, Tech Support » Tue Sep 13, 2011 8:13 am

Here are the files lordmenace. Just extract them to your iMacros\Macros folder then refresh the macro list in iMacros and play the .js file.
Attachments
facebook.zip
(686 Bytes) Downloaded 131 times
Regards,

Tom, iMacros Support
hijakdnb
Posts: 1
Joined: Wed Feb 29, 2012 12:19 pm

Re: Removing users from Facebook event

Post by hijakdnb » Wed Feb 29, 2012 12:22 pm

Hello im having this problem baDLY. I have an events page with 5,000+ invites but i want to delete my not attending as that would bring it to under 5000. i have i macros for google chroome but dont understand it. is there a code i can use any help would be greatley appreciated.

thanks

liam
questions
Posts: 69
Joined: Wed Apr 23, 2008 9:23 pm

Re: Removing users from Facebook event

Post by questions » Sun Nov 24, 2013 12:48 am

does this still apply in november of 2013? i'm sure they have changed their setup
Post Reply