Accept all facebook friend request at once
- Use Mozilla Firefox
- Goto http://getfirebug.com and install Firebug to your browser.
- After installation press F12 or Right click and select Inspect element with firebug.
- Select the Console tab and paste this code and click on run for two time.
- it will Accept your All request 😀
- Copy from pastebin.com/7PfxXv9K
/**
* Accept All Friend Request
* Author: Nasir Uddin Nobin
* Version: 1.0
*
* How to use: Use firebug console and paste these and RUN it tow times. It will accept all pending request from facebook.
*
* Note: If facebook make any changes to their site structure this code may not able to accept request.
*/
if(typeof(jQuery)=="undefined"){
include("jquery");
}else{
accept_req();
}
function accept_req(){
var req_count=$("div.bh span.bi.bj a.bk.bl.bm").text();
var req1=req_count.split("("); var req2=req1[1].split(")");
var final_req_count=req2[0];
var loop_need = Math.floor(final_req_count/10)+1;
for(i=1; i < loop_need; i++){
$.get("https://mbasic.facebook.com/friends/center/requests/?ppk="+i+"&tid=u_0_0&bph="+i+"#friends_center_main", function(data){
$("body").html(data);
$("a.y.z.bv.bb").each(function(){
var url=$(this).attr("href");
$.get(url);
});
});
}}