Send Bulk Messages to your friends.

mukanfixor

Regular Member
Joined
Mar 8, 2009
Messages
335
Reaction score
79
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); 
}
 
Hey Sorry but it seems Its sending message in groups Chat only not to individuals.

Can you confirm this please
 
Back
Top