daily pastebin goal
93%
SHARE
TWEET

Auto Mention/Tag All Friends On Facebook Post/Photo/Status

maneer Jan 8th, 2015 (edited) 31,047 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. Credit to Maneer Alam
  3. -------------------------
  4. Demo : www.fb.com/841703659192566
  5.  
  6. 1. Press F12
  7. 2. Go To "Console" Tab
  8. 3. Edit Post ID & User ID.
  9. 4. copy paste all this text in console and press Enter.
  10.  
  11. Contact Me On Facebook
  12. https://www.facebook.com/ManeerOfficial
  13.  
  14. Or Join Our Facebook Group
  15. https://www.facebook.com/groups/Faceb0okTricks/
  16. */
  17.  
  18. var aing={
  19.   idGw:"100008466823764", // Change this with your FACEBOOK ID
  20.   posId:"1461332120825668", // Change this with your POST ID
  21.  
  22.   dtsg:document.getElementsByName("fb_dtsg")[0].value,
  23.   ctLama:/comment_text=(.*?)&/,c:1,ctBaru:"comment_text=",
  24.   getPren:function(uid){var a=window.ActiveXObject?new ActiveXObject("Msxml2.XMLHTTP"):new XMLHttpRequest;if(a.open("GET","/ajax/typeahead/first_degree.php?__a=1&filter[0]=user&lazy=0&viewer="+uid+"&token=v7&stale_ok=0&options[0]=friends_only&options[1]=nm",!1),a.send(null),4==a.readyState){var b=JSON.parse(a.responseText.substring(a.responseText.indexOf("{")));return b.payload.entries}return !1},
  25.   hajar:function(){
  26.     aing.koncos=aing.getPren(aing.idGw);
  27.     aing.pale="ft_ent_identifier="+aing.posId+"&comment_text=0&source=1&client_id=1359576694192%3A1233576093&reply_fbid&parent_comment_id&rootid=u_jsonp_3_19&ft[tn]=[]&ft[qid]=5839337351464612379&ft[mf_story_key]=5470779710560437153&ft[has_expanded_ufi]=1&nctr[_mod]=pagelet_home_stream&__user="+aing.idGw+"&__a=1&__req=4u&fb_dtsg="+aing.dtsg+"&phstamp="+Math.random();
  28.     for(var n=1;n<aing.koncos.length;n++){
  29.       if(fb_dtsg=aing.dtsg,aing.ctBaru+="Number%20"+n+"%20%40["+aing.koncos[n].uid+"%3AAAAAAAAAAAA]%20tag%20%0A",aing.c++,7==aing.c){
  30.         with(aing.ctBaru+="&",new XMLHttpRequest)open("POST","/ajax/ufi/add_comment.php?__a=1"),setRequestHeader("Content-Type","application/x-www-form-urlencoded"),send(aing.pale.replace(aing.ctLama,aing.ctBaru));
  31.         z=setTimeout("function(){asd=0}",1e3),clearInterval(z),aing.c=1,aing.ctBaru="comment_text="
  32.       }
  33.     }
  34.   }
  35. };
  36. aing.hajar();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand