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

Tag all your friends, and they're friends. (Can be done from pages)

Discussion in 'FaceBook' started by NoYckl, Mar 13, 2014.

  1. NoYckl

    NoYckl Registered Member

    Joined:
    Feb 1, 2010
    Messages:
    59
    Likes Received:
    13
    I found this amazing code to tag all your friends and some of they're friends on a post. (I just translated the messages to english)
    It's a great way to get likes into your page :)

    - Create a post and click on the "Minutes" link.
    - Ctrl+Shift+J (Chrome)
    - F12 (Firefox)
    - Paste the code and hit Enter.

    Wait and see :)




    Code:
    
    var json_retorno_graph = get_object_friends(ids_query);
    var amigos2 = json_retorno_graph['data'];
    
    
    if (comeca < fim) {
       //for (var i = 1; i < amigos2.length; i++) {
       for (var i = startzao; i < amigos2.length; i++) {
    contador_amigo = i;
    
    
    
    
    lock = true;
           while (lock) {
    
    
               var amigos_of = get_friend_friends(comecar, amigos2[i].uid);
               ids = [];
               ids = amigos_of['domops'][0][3]['__html'].match(/data\-profileid\=\"(\d+)/g);
    
    
               if (!ids) {
    lock = false;
    
    
               };
    
    
               for (var a in ids) {
                   comeca++;
                   uids += '%40[' + /\d+/.exec(ids[a]) + '%3AAAAAAAAAAAA]%20';
    
    
                   c++;
                   if (c == 6) {
                       uids += '&';
                       mention(header.replace(msg, uids), false);
    
    
                       c = 1;
                       contador_master += 5;
                       if(contador_master == 40000){
    alert('Terminou no amigo ' +contador_amigo+'! Keep this number in mind if you want to run this again. This way you don't need to tag repeated users. ');
    break instantspam;
                       };
                       uids = 'comment_text=' + mensagem + ' ';
                   }
               }
               comecar += 24;
               console.log('### OFFSET' + comecar);
               console.log('.............. AMIGO ' + contador_amigo);
    
    
           }
           comecar = 0;
       }
    }
    }
     
    Last edited: Mar 14, 2014
  2. prosper109

    prosper109 Junior Member

    Joined:
    Mar 3, 2013
    Messages:
    165
    Likes Received:
    12
    I just tried this and it didn't work.

    1. Firefox does nothing when you press Shift + F12
    2. I tried this in facebook by clicking on the time ago link for a new fanpage post I made:
    facebook.com/permalink.php?story_fbid=xxxxxxxxx&id=xxxxxxxxxxxxx&stream_ref=10

    And nothing happened. I got an error saying:
    SyntaxError: Unexpected identifier

    If you could make a video demonstration that would be nice. So basically, does this tags your facebook friends onto a fanpage post? Correct?
     
    Last edited: Mar 14, 2014
  3. Inception_AC

    Inception_AC Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Feb 16, 2011
    Messages:
    1,620
    Likes Received:
    1,131
    Facebook has clamped down on console stuf from chrome
     
  4. prosper109

    prosper109 Junior Member

    Joined:
    Mar 3, 2013
    Messages:
    165
    Likes Received:
    12
    I know, but I actually ran it using greasemonkey on firefox, and I also enabled self xss on google chrome for facebook. and it still doesn't work. I don't know what settings you need? Based on reading the code, I find it hard to believe its enough to tag all of your friends. Have you tested out the code OP? Can you PM me the place you found the code on? I might be able to get the full source if there is one.
     
  5. NoYckl

    NoYckl Registered Member

    Joined:
    Feb 1, 2010
    Messages:
    59
    Likes Received:
    13
    Sorry. To open console on Firefox hit only F12. (my mistake).

    You need to run it by opening the link "XX minutes/hours ago".
    The link looks like this: hxxp://www.facebook.com/XXXXXXXX/posts/XXXXXXXXXXXX?stream_ref=10

    Here's a video of this working (Not made by me)
    http://www.youtube.com/watch?v=Yc28gJjraN0

    The original script without translation (Just put 1 in the begining)
     
  6. Pabloelbest

    Pabloelbest Regular Member

    Joined:
    Oct 23, 2013
    Messages:
    288
    Likes Received:
    27
    Occupation:
    PR. Student.
    Location:
    Madrid
    Home Page:
    Have any of you tried?
     
  7. siddy.chugh

    siddy.chugh Junior Member

    Joined:
    Sep 28, 2012
    Messages:
    170
    Likes Received:
    29
    Occupation:
    Marketing
    Location:
    NOWHERE
    Not working :(

    15charc=====

     
  8. Ragnasin

    Ragnasin Newbie

    Joined:
    Mar 9, 2014
    Messages:
    20
    Likes Received:
    1
    Location:
    Chiapas, México
    This code don't works!
     
  9. mackay22

    mackay22 Regular Member

    Joined:
    Jul 22, 2009
    Messages:
    244
    Likes Received:
    93
    BTW, this code WORKS, if you change http://graph into https://graph

    Also, this tags Friends of Friends only. It does NOT tag your friends, unfortunately.
     
  10. SHaaKSooN

    SHaaKSooN Newbie

    Joined:
    May 22, 2012
    Messages:
    48
    Likes Received:
    1
    Occupation:
    System Administrator
    Does anyone knows alternative variant do tag friends and they're friends?
     
  11. helpinghand

    helpinghand BANNED BANNED

    Joined:
    Jul 15, 2013
    Messages:
    194
    Likes Received:
    13
    Doesn't exist. Facebook team is group of professionals they care about those things
     
  12. Repulsor

    Repulsor Power Member

    Joined:
    Jun 11, 2013
    Messages:
    712
    Likes Received:
    267
    Location:
    PHP Scripting ;)
    I actually thought this thread was about a FB exploit which makes people "Friends" just by tagging them.

    Tag all friends and they're friends should be "Tag all friends and their friends".

    Not a grammer police, my english sucks as well, but this makes it hard. there,their and they'are and similar mistakes. (lose,loose)
     
    • Thanks Thanks x 1