[GET]Javascript for sending Facebook Friend Requests

Great script! Works like a charm on my personal facebook page.
Is it also possible to invite user to like my company page?
- I don't own a company page yet, but I consider growing one with this tool!

Thank you.
 
Hi guys I was just wondering which is your strategy with this script how many friend requests is it safe to send per day how big delays do you use facebook has made their algorithm much more aggresive in the last time can you provide me with some guidlines
 
Hey there,

was looking for a Javascript that automatically clicks all 'Add Friend'-buttons it finds on a Facebook page, couldn't find any good one and decided to code one myself.
Perfect for people like me who grow Facebook accounts by hand.


Features:
  • Set how many friends requests you wish to send in total
  • Set delay between two friend requests
  • Overlay that shows how many friend requests have been sent already
  • Doesn't freeze the browser

How to use:
  • Create new bookmark
  • Copy & paste the following code where you would usually put the URL
  • Click the bookmark to send friend requests

Notice: I coded this in in just a few minutes, the code is not a good ecample for best coding practice ;)
Tested in Chrome & Firefox. Please let me know if you encounter any bugs.



Enjoy! :)


Code:
Code:
javascript:
var delayInput = prompt("Delay between actions (ms)", "1000");
var stopAfter = prompt("Stop after how many friend requests are sent?", "100");
var workDelay = parseInt(delayInput, 10);

var loading = document.createElement("div");
loading.setAttribute("id", "noni_loading");
loading.setAttribute("style", "position: fixed; background: rgba(255,255,255,0.8); top: 0; left: 0; width: 100%; font-size: 24px; z-index: 1000; padding: 12px;");
document.body.appendChild(loading);
document.getElementById("noni_loading").innerHTML = "No friends added.";

var inputs = document.querySelectorAll('.FriendRequestAdd:not(.hidden_elem)');


var i=0;
var delay=0;
var cont=true;
var stopAfterNumber=0;
if(parseInt(stopAfter, 10)>inputs.length) {
    stopAfterNumber=inputs.length;
} else {
    stopAfterNumber=parseInt(stopAfter, 10);
}

function addFriends(max){

    if(inputs.length<=0) {
        document.getElementById("noni_loading").setAttribute("style", "position: fixed; background: rgba(140,60,60,0.8); top: 0; left: 0; width: 100%; font-size: 24px; color: #fff; z-index: 1000; padding: 12px;");
        document.getElementById("noni_loading").innerHTML = "No 'Add Friend'-buttons found :(";
   
        alert("That didn't work...");
        document.getElementById("noni_loading").setAttribute("style", "display: none;");
   
    } else {

        if(workDelay <= 0) {
            delay=0;
        } else if(workDelay <= 10) {
            delay=workDelay+(Math.floor((Math.random()*5)));
        } else {
            delay=workDelay+(Math.floor(Math.random()*(0.1*delay))-(0.05*workDelay));
        }

        if(i<stopAfterNumber) {
            inputs[i].click();
            document.getElementById("noni_loading").innerHTML = i+" friends added. "+delay+"ms waiting...";
            cont=true;
        } else {
            document.getElementById("noni_loading").innerHTML = i+" friends successfully added!";
            document.getElementById("noni_loading").setAttribute("style", "position: fixed; background: rgba(60,140,60,0.8); top: 0; left: 0; width: 100%; font-size: 24px; color: #fff; z-index: 1000; padding: 12px;");
            cont=false;
        }

        i++;
        if(cont==true) {
            setTimeout(addFriends, delay);
        } else {
            alert("Success!");
            document.getElementById("noni_loading").setAttribute("style", "display: none;")
        }
    }
}

addFriends();




How to add friends from pages or groups with my niche ?
 
[QUOTE = "harishjni, post: 9148387, member: 985732"] Great Script, dapatkah itu mengkonfirmasi Permintaan Teman? Saya memiliki 800 permintaan setiap hari. [/ QUOTE]

bagaimana Anda bisa mendapatkan konfirmasi dari banyak teman?
 
Hey there,

was looking for a Javascript that automatically clicks all 'Add Friend'-buttons it finds on a Facebook page, couldn't find any good one and decided to code one myself.
Perfect for people like me who grow Facebook accounts by hand.


Features:
  • Set how many friends requests you wish to send in total
  • Set delay between two friend requests
  • Overlay that shows how many friend requests have been sent already
  • Doesn't freeze the browser

How to use:
  • Create new bookmark
  • Copy & paste the following code where you would usually put the URL
  • Click the bookmark to send friend requests

Notice: I coded this in in just a few minutes, the code is not a good ecample for best coding practice ;)
Tested in Chrome & Firefox. Please let me know if you encounter any bugs.



Enjoy! :)


Code:
Code:
javascript:
var delayInput = prompt("Delay between actions (ms)", "1000");
var stopAfter = prompt("Stop after how many friend requests are sent?", "100");
var workDelay = parseInt(delayInput, 10);

var loading = document.createElement("div");
loading.setAttribute("id", "noni_loading");
loading.setAttribute("style", "position: fixed; background: rgba(255,255,255,0.8); top: 0; left: 0; width: 100%; font-size: 24px; z-index: 1000; padding: 12px;");
document.body.appendChild(loading);
document.getElementById("noni_loading").innerHTML = "No friends added.";

var inputs = document.querySelectorAll('.FriendRequestAdd:not(.hidden_elem)');


var i=0;
var delay=0;
var cont=true;
var stopAfterNumber=0;
if(parseInt(stopAfter, 10)>inputs.length) {
    stopAfterNumber=inputs.length;
} else {
    stopAfterNumber=parseInt(stopAfter, 10);
}

function addFriends(max){

    if(inputs.length<=0) {
        document.getElementById("noni_loading").setAttribute("style", "position: fixed; background: rgba(140,60,60,0.8); top: 0; left: 0; width: 100%; font-size: 24px; color: #fff; z-index: 1000; padding: 12px;");
        document.getElementById("noni_loading").innerHTML = "No 'Add Friend'-buttons found :(";
   
        alert("That didn't work...");
        document.getElementById("noni_loading").setAttribute("style", "display: none;");
   
    } else {

        if(workDelay <= 0) {
            delay=0;
        } else if(workDelay <= 10) {
            delay=workDelay+(Math.floor((Math.random()*5)));
        } else {
            delay=workDelay+(Math.floor(Math.random()*(0.1*delay))-(0.05*workDelay));
        }

        if(i<stopAfterNumber) {
            inputs[i].click();
            document.getElementById("noni_loading").innerHTML = i+" friends added. "+delay+"ms waiting...";
            cont=true;
        } else {
            document.getElementById("noni_loading").innerHTML = i+" friends successfully added!";
            document.getElementById("noni_loading").setAttribute("style", "position: fixed; background: rgba(60,140,60,0.8); top: 0; left: 0; width: 100%; font-size: 24px; color: #fff; z-index: 1000; padding: 12px;");
            cont=false;
        }

        i++;
        if(cont==true) {
            setTimeout(addFriends, delay);
        } else {
            alert("Success!");
            document.getElementById("noni_loading").setAttribute("style", "display: none;")
        }
    }
}

addFriends();




On this script do you have something like to click on "Confrim" button ??
 
thanks for this script i'm working on it , to update it and add other features
 
great news i make a big progress developping the script Nonilol .
now the scripts is under test
 
i want to share the script with you on short cut link monetize but it seems there is probleme here... i don't know what's the probleme
 
Nice share OP :)
the script is perfect for me to build some good quality accounts
the script will shoose friends in the search page of facebook
if you want to us it perfectly use that addon on ff or chrome and search for targeted profiles and let the script do the rest
for the addon just type "Intelligence Search add on" in google and you will find it


Do you know if there's a similar add on for Firefox?? I know this is two years later but thought I'd ask lol
 
Back
Top