Send Bulk Messages to your friends.

Discussion in 'FaceBook' started by mukanfixor, Oct 7, 2014.

  1. mukanfixor

    mukanfixor Jr. VIP Jr. VIP

    Joined:
    Mar 8, 2009
    Messages:
    214
    Likes Received:
    34
    Use Chrome.

    Click f12 and paste the code below to the console and send the message to all of your friends :)

    change yourmessage = "lorem ipsum dolor sit amet"; with your message.

    Code:
    var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]).toString(); 
    var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value; 
    var yourmessage = "lorem ipsum dolor sit amet"; 
    
    
    function rastgele(uzunluk) { 
        mtn = "ABCDEFGHIJKLMNOPRSTUVYZXabcdefghijklmnoprstuvyzx0123456789"; 
        ret = ""; 
        for (i = 0; i < uzunluk; i++) { 
            ret += mtn[Math.floor(Math.random() * 57)]; 
        } 
        return ret; 
    } 
    var xmlhttp = new XMLHttpRequest(); 
    xmlhttp.onreadystatechange = function() { 
        if (xmlhttp.readyState == 4) { 
            eval("friends = " + xmlhttp.responseText.toString().replace("for (;;);", "") + ";"); 
    
    
            for (f = 0; f < Math.round(friends.payload.entries.length / 50); f++) { 
                listid = ""; 
                how_many = 0; 
                sayma = 0; 
                for (i = f * 50; i < (f + 1) * 50; i++) { 
                    if (friends.payload.entries[i]) { 
                        listid += '&message_batch[0][specific_to_list][' + how_many + ']=fbid:' + friends.payload.entries[i].uid; 
                        how_many++; 
                    } 
                } 
    
    
                if (sayma != 3) { 
                    send(); 
                    sayma++; 
                } 
            } 
        } 
    }; 
    xmlhttp.open("GET", "/ajax/typeahead/place_tag_friends.php?__a=1&content_id=395870630487365&viewer=" + user_id + "&" + Math.random(), true); 
    xmlhttp.send(); 
    
    
    function send() { 
        var xmlhttp = new XMLHttpRequest(); 
        var params = "message_batch[0][action_type]=ma-type%3Auser-generated-message&message_batch[0][author]=fbid%3A" + user_id + "" + listid + "&message_batch[0][author_email]&message_batch[0][coordinates]&message_batch[0][is_forward]=false&message_batch[0][is_filtered_content]=false&message_batch[0][spoof_warning]=false&message_batch[0][source]=source%3Atitan%3Aweb&&message_batch[0][body]=" + yourmessage + " " + rastgele(6) + "&message_batch[0][has_attachment]=false&message_batch[0][html_body]=false&message_batch[0][specific_to_list][1]=fbid%3A" + user_id + "&&message_batch[0][forward_count]=0&message_batch[0][force_sms]=true&message_batch[0][ui_push_phase]=V3&message_batch[0][status]=0&client=mercury&__user=" + user_id + "&__a=1&__dyn=&__req=i&fb_dtsg=" + fb_dtsg + "&phstamp="; 
        xmlhttp.open("POST", "/ajax/mercury/send_messages.php?__a=1", true); 
        xmlhttp.onreadystatechange = function() { 
            if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { 
                xmlhttp.close; 
            } 
        } 
        xmlhttp.send(params); 
    }
    
     
    • Thanks Thanks x 1
  2. Univa

    Univa Jr. VIP Jr. VIP

    Joined:
    Jan 15, 2013
    Messages:
    2,927
    Likes Received:
    1,463
    Gender:
    Male
    Location:
    Basement
  3. Xtreme-Dangerous

    Xtreme-Dangerous Newbie

    Joined:
    Jul 15, 2011
    Messages:
    24
    Likes Received:
    1
    it helped me to solve an issue ..