1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[GET] iMacros Facebook Group Joiner

Discussion in 'FaceBook' started by dori92, Apr 23, 2016.

  1. dori92

    dori92 Regular Member

    Joined:
    Aug 6, 2013
    Messages:
    268
    Likes Received:
    96
    Occupation:
    Webmaster
    Location:
    Albania
    Home Page:
    Hey everyone.Today i made a simple imacros bot to join facebook groups from a list.

    First you need to install Firefox and Imacros.

    Go to C:\Users\xxx\Documents\iMacros\Datasources and create a txt file and put your groups url one for line.Like this

    To join a random group from the list you need this code.

    If you wan to join groups one by one in line just change {{!VAR2}} with {{!LOOP}}

    Imacros Code
    Code:
    VERSION BUILD=8920312 RECORDER=FX
    SET !VAR1 EVAL("var randomNumber=Math.floor(Math.random()*[COLOR=#ff0000]180+ 60[/COLOR]); randomNumber;")
    SET !VAR2 EVAL("var randomNumber=Math.floor(Math.random()*[COLOR=#00ff00]1534+ 1[/COLOR]); randomNumber;")
    SET !ERRORIGNORE YES
    SET !DATASOURCE [COLOR=#b22222]groups.txt[/COLOR]
    SET !DATASOURCE_COLUMNS 1
    SET !DATASOURCE_LINE {{!VAR2}}
    URL GOTO = {{!COL1}}
    TAG POS=2 TYPE=A ATTR=TXT:Join<SP>Group
    WAIT SECONDS={{!VAR1}}
    
    
    Javascript Code (change the blue number with number of loops u want.)
    Code:
    var macro1 = "CODE:";
    macro1 += "VERSION BUILD=8920312 RECORDER=FX" + "\n";
    macro1 += "SET !VAR1 EVAL(\"var randomNumber=Math.floor(Math.random()*[COLOR=#ff0000]180 + 60[/COLOR]); randomNumber;\")" + "\n";
    macro1 += "SET !VAR2 EVAL(\"var randomNumber=Math.floor(Math.random()*[COLOR=#00ff00]1534+ 1[/COLOR]); randomNumber;\")" + "\n";
    macro1 += "SET !ERRORIGNORE YES" + "\n";
    macro1 += "SET !DATASOURCE [COLOR=#b22222]groups.txt[/COLOR]" + "\n";
    macro1 += "SET !DATASOURCE_COLUMNS 1" + "\n";
    macro1 += "SET !DATASOURCE_LINE {{!VAR2}}" + "\n";
    macro1 += "URL GOTO = {{!COL1}}" + "\n";
    macro1 += "TAG POS=2 TYPE=A ATTR=TXT:Join<SP>Group" + "\n";
    macro1 += "WAIT SECONDS={{!VAR1}}" + "\n";
    macro1 += "" + "\n";
    macro1 += "" + "\n";
    for (i = 0; i < [COLOR=#0000ff]30[/COLOR]; i++)
    {
      iimPlay(macro1);
    }
    
    
    
    The red numbers are random seconds delay from 16 to 45 seconds.The green numbers are the number of groups you have in the txt file list.


    Enjoy :D
     
    • Thanks Thanks x 7
  2. CareMD

    CareMD Registered Member

    Joined:
    Mar 30, 2016
    Messages:
    97
    Likes Received:
    11
    Location:
    Sweden
    Thanks for the script man! It works great :)
     
  3. Eternal1912

    Eternal1912 Power Member

    Joined:
    Dec 6, 2014
    Messages:
    621
    Likes Received:
    246
    Gender:
    Male
    Occupation:
    Freelance Writer
    Location:
    Bulgaria
    That's a great contribution dude :)
     
  4. dori92

    dori92 Regular Member

    Joined:
    Aug 6, 2013
    Messages:
    268
    Likes Received:
    96
    Occupation:
    Webmaster
    Location:
    Albania
    Home Page:
    You are welcome :D
     
  5. dori92

    dori92 Regular Member

    Joined:
    Aug 6, 2013
    Messages:
    268
    Likes Received:
    96
    Occupation:
    Webmaster
    Location:
    Albania
    Home Page:
    Thanks .I'm glad it helped :D
     
  6. tehnikumapuika

    tehnikumapuika Regular Member

    Joined:
    Jan 22, 2013
    Messages:
    468
    Likes Received:
    164
    So at first I need to scrape facebook groups? If I can't do that, this macro is pointless. :)
     
  7. Stiletto

    Stiletto Jr. VIP Jr. VIP

    Joined:
    Nov 5, 2012
    Messages:
    584
    Likes Received:
    385
    Location:
    Balkans
  8. dori92

    dori92 Regular Member

    Joined:
    Aug 6, 2013
    Messages:
    268
    Likes Received:
    96
    Occupation:
    Webmaster
    Location:
    Albania
    Home Page:
    You can scrape facebook groups by going to
    Code:
    https://www.facebook.com/search/groups/?q=[COLOR=#ff0000]keyword 
    [/COLOR]
    Replace the red word.
    Scroll down with "end" button from your keyboard or if you are lazy paste this code to console
    Code:
    setInterval(function() { window.scrollTo(0, document.body.scrollHeight); }, 100);
    Than extract all links with this chrome extension and make sure to options select txt not csv.

    After extration open your file with notepad++ and delete everything except lines with
    Code:
    http://facebook.com/groups/ 
    If you dont know how to do it here is a example.
     
    • Thanks Thanks x 6
  9. loedown

    loedown Jr. VIP Jr. VIP

    Joined:
    Jun 29, 2009
    Messages:
    1,586
    Likes Received:
    496
    Home Page:
    Nice man thanks for the share, this will come in handy.
     
  10. dori92

    dori92 Regular Member

    Joined:
    Aug 6, 2013
    Messages:
    268
    Likes Received:
    96
    Occupation:
    Webmaster
    Location:
    Albania
    Home Page:
    I explained how to create a list for free. Check Above :D
     
  11. dori92

    dori92 Regular Member

    Joined:
    Aug 6, 2013
    Messages:
    268
    Likes Received:
    96
    Occupation:
    Webmaster
    Location:
    Albania
    Home Page:
    You are welcome :D
     
  12. june007

    june007 BANNED BANNED

    Joined:
    Sep 9, 2015
    Messages:
    360
    Likes Received:
    41
    Thank you man!!!!!!! Will try to use it.
     
  13. dori92

    dori92 Regular Member

    Joined:
    Aug 6, 2013
    Messages:
    268
    Likes Received:
    96
    Occupation:
    Webmaster
    Location:
    Albania
    Home Page:
    U are welcome man.Enjoy :D
     
  14. v1rtuz

    v1rtuz Registered Member

    Joined:
    Mar 4, 2016
    Messages:
    55
    Likes Received:
    8
    Occupation:
    SMM
    Location:
    Ashdod
    Thank you man! :cool:
    We will wait for the macro to group autoposting :)
     
  15. dori92

    dori92 Regular Member

    Joined:
    Aug 6, 2013
    Messages:
    268
    Likes Received:
    96
    Occupation:
    Webmaster
    Location:
    Albania
    Home Page:
    Im working on this :D
     
  16. zeroyjk

    zeroyjk Junior Member

    Joined:
    Sep 25, 2015
    Messages:
    145
    Likes Received:
    11
    Can you make auto like and auto comment
     
  17. dori92

    dori92 Regular Member

    Joined:
    Aug 6, 2013
    Messages:
    268
    Likes Received:
    96
    Occupation:
    Webmaster
    Location:
    Albania
    Home Page:
    Will try it soon :D
     
  18. Bosiukas

    Bosiukas Newbie

    Joined:
    Apr 23, 2016
    Messages:
    5
    Likes Received:
    0
    Hi, thanks for sharing.
    I can't figure out how and where to put those imacros and javascript codes to run properly.
    I can't run them both on the same time. When I run imacros code, the only thing it does is going through the list of my fb groups, but not joining them.
     
  19. dori92

    dori92 Regular Member

    Joined:
    Aug 6, 2013
    Messages:
    268
    Likes Received:
    96
    Occupation:
    Webmaster
    Location:
    Albania
    Home Page:
    Make sure you have the facebook in english.
     
  20. zeroyjk

    zeroyjk Junior Member

    Joined:
    Sep 25, 2015
    Messages:
    145
    Likes Received:
    11
    Dori92.. Do you know how to make like that using this tool... i have 2k fake account... but i want to use this method..