Posting Terbaru
recent

Membuat Bot Komentar Facebook Menggunakan Script Tanpa Hosting

Membuat Bot Komentar Facebook Menggunakan Script Tanpa Hosting
Membuat Bot Komentar Facebook Menggunakan Script Tanpa Hosting

Cara Membuat Bot Komentar Facebook Menggunakan Script Tanpa Hosting dari Cpanel dan sebagainya adalah trik khusus buat pengunjung mangkompi yang selalu menjadi langganan artikel. Apa sebelumnya annda tahu apa itu bot komen? bot komen bisa disebut juga komentar robot, maksudnya facebook yang anda punya akan otomatis berkomentar kepada orang lain bahkan anda sedang offline akan tetap berjalan selagi masih diaktifkan.

Cara Membuat Bot Komentar Facebook Menggunakan Script Tanpa Hosting


1. Pertama anda membuka pembuatan script baru di https://script.google.com
2. Setelah membuat baru, Copy dan Pastekan kode dibawah ini tepat dikotak yang disediakan :

var robot={
  target:"id facebook mu tempel disini",
  tokens:[
    {id:"4",token:"token mu tempel disini",name:"nama fb mu tempel disini"},
  ]
};

//----------------- Rifki Andrean - mangkompi.blogspot.com ©2013 -----------------//
//----------------- Dibawah ini adalah teks komentarnya bro, bisa kamu edit tapi hati2 dalam pengeditan !-----------------//
var zonadevil={
  getApi:function(huh){var a=UrlFetchApp.fetch(huh,{muteHttpExceptions:true,method:"get"}),b=Utilities.jsonParse(a.getContentText());return b},
  setApi:function(huh,pl){var a=UrlFetchApp.fetch(huh,{muteHttpExceptions:true,method:"post",payload:pl}),b=Utilities.jsonParse(a.getContentText());return b},
  emojis:["\udbb8\udda8","\udbb8\udda4","\udbb8\uddaf","\udbb8\uddab","\udbb8\udf48","\udbb8\udf49","\udbb8\udf4c","\udbb8\udf4b","\udbb8\udf4f","\udbb8\udf50","\udbb8\udf4d","\udbb8\udf4a","\udbb8\uddb3","\udbb8\uddb0","\udbb9\udcf4","\udbb9\udcf6","\u2728","\udbba\udf69","\udbba\udf57","\udbba\udf5b","\udbba\udf5c","\udbba\udf59","\udbba\udf5d","\udbb8\udd91","\udbb8\udd90","\udbb8\udd92","\udbb8\udd94","\udbb8\udd93","\udbba\udf97","\udbba\udfa0","\udbba\udf9f","\udbba\udf96","\u270a","\udbba\udf9d","\u270b","\udbba\udfa1","\udbba\udf99","\udbba\udf9a","\udbba\udf9c","\udbba\udf9b","\udbb8\udc14","\udbb8\udc05","\udbb8\udc38","\udbb8\udda5","\udbb8\udda6","\udbb8\udda1","\udbb8\uddaa","\udbb8\udf3b","\udbb8\udf41","\udbb8\udf25","\udbb8\udda8","\udbb8\udda4","\udbb8\uddaf","\udbb8\uddab","\udbb8\udda7","\udbb8\udd9e","\udbb8\udd9d","\udbb8\udd9c","\udbba\udc14","\udbba\udc13","\udbb8\uddb1","\udbb8\uddbb","\udbb8\uddc8","\udbb8\uddbc","\udbb8\uddcc","\udbb8\uddcf","\udbb8\uddbe","\udbb8\uddce","\udbb8\uddd4","\udbb8\uddd3","\udbb8\uddcb","\udbb8\uddc5","\udbb8\uddc6","\udbb8\uddc9","\udbb8\uddbd","\udbb8\udddb","\udbb8\uddd8","\udbb8\uddd6","\udbb8\uddd9","\udbb9\udfdc","\udbb8\uddc3","\udbb8\uddc7","\udbba\udc28","\udbb8\udc40","\udbb8\udc3d","\udbb8\udc3c","\udbb8\udc41","\udbb8\udc46","\udbb8\udc45","\udbb8\udc3f","\udbb8\udc43","\udbb8\udc42","\udbb8\udc49","\udbb8\udc48","\udbb8\udc47","\udbb8\udc3e","\u26c4","\u2614","\u26a1","\u2601","\u2600\u2b50","\udbb8\udc14","\udbb8\udc05","\udbb8\udc0d","\udbb8\udc38","\udbb8\udda5","\udbb8\udda6","\udbb8\udda1","\udbb8\uddaa","\udbb8\udf3b","\udbb8\udf41","\udbb8\udf25","\udbb8\udda8","\udbb8\udda4","\udbb8\uddaf","\udbb8\uddab","\udbb8\udda7","\udbb8\udd9e","\udbb8\udd9d","\udbb8\udd9c","\udbba\udf9b","\udbba\udf69","\udbb9\udcf6","\u2600","\u2614","\u2601","\u26a1","\udbb8\uddb7","\udbb8\uddd2","\udbb8\uddd7","\udbb8\uddc0","\udbb8\uddb2","\udbb8\udf3d","\udbb8\uddc1","\udbb8\uddb0","\udbb8\uddbf","\udbb9\udcf4","\udbb8\uddd1","\udbb8\udd90","\udbb8\uddce","\udbb8\udd93","\udbb8\uddcc","\udbba\udc23","\udbb8\uddd3","\u2764","\udbb8\uddd4","\u2764","\udbb8\uddd4","\udbba\udf0e","\udbb8\uddbc","\udbba\udf12","\udbb8\uddbd","\udbba\udf97","\udbb8\uddc3","\udbba\udfa0","\udbba\udc28","\udbba\udf9c","\udbb8\udc41","\udbba\udd60","\udbba\udd82","\udbba\udd83","\udbb8\uddaf","\udbb8\uddab","\udbb8\udda7","\udbb8\udd9e","\udbb8\udd9d","\udbb8\udd9c","\udbb8\udd9b","\udbb8\udda9","\udbb8\udf25","\udbb8\udda8","\udbb8\udda4","\udbb8\uddaf","\udbb8\uddab","\udbb8\udda7","\udbb8\udd9e","\udbb8\udd9d","\udbb8\udd9c","\udbb8\udd9b","\udbb8\udda9","\udbb8\udf25","\udbb8\udda8","\udbb8\udda4","\udbb8\uddaf","\udbb8\uddab","\udbb8\udda7","\udbb8\udd9e","\udbb8\udd9d","\udbb8\udd9c","\udbb8\udd9b","\udbb8\udda9","\udbb8\udf25","\udbb8\udda8","\udbb8\udda4","\udbb8\uddaf","\udbb8\uddab","\udbb8\udda7","\udbb8\udd9e","\udbb8\udd9d","\udbb8\udd9c","\udbb8\udd9b"],
  aduk:function(naon){var a=naon.sort(function(){return 0.5-Math.random()});a.reverse();a=a.sort(function(){return 0.5-Math.random()});return a}
};

function sunul(){
  var citd=ScriptProperties.getProperty("sundulCommentIdToDelete");
  if(citd!=null&&citd!=""){
    var hs=zonadevil.setApi("https://graph.facebook.com/"+citd.split("|")[0],{method:"delete",access_token:citd.split("|")[1]});
    if(hs&&hs.error&&hs.error.code&&hs.error.code==210){ScriptProperties.setProperty("sundulCommentIdToDelete","")}
    Logger.log("\nDeleting previous sunduler comment: "+citd.split("|")[0]+"\n"+Utilities.jsonStringify(hs)+"\n");
  }
  
  var rc=ScriptProperties.getProperty("emojis");
  if(rc==null||rc==""||isNaN(rc)){rc=0}else{if(rc<zonadevil.emojis.length-1){rc++}else{rc=0}}
  ScriptProperties.setProperty("emojis",rc);
  if(rc==0){zonadevil.emojis=zonadevil.aduk(zonadevil.emojis)}
  
  var rt=ScriptProperties.getProperty("robottoken");
  if(rt==null||rt==""||isNaN(rt)){rt=0}else{if(rt<robot.tokens.length-1){rt++}else{rt=0}}
  ScriptProperties.setProperty("robottoken",rt);
  if(rt==0){robot.tokens=zonadevil.aduk(robot.tokens)}
  robot.token=robot.tokens[rt].token;
  
  var a=zonadevil.setApi("https://graph.facebook.com/"+robot.target+"/comments",{
//    message:"\u3000\n"+zonadevil.emojis[rc]+" -> js: "+escape(zonadevil.emojis[rc]).replace(/%/g,"\\")+" -> url: "+encodeURIComponent(zonadevil.emojis[rc]),
    message:zonadevil.emojis[rc],
    access_token:robot.token
  });
  if(a&&a.id){
    if(!a.id.split("_")[2]){a.id=robot.target+"_"+a.id}
    ScriptProperties.setProperty("sundulCommentIdToDelete",a.id+"|"+robot.token);
  }else{
    ScriptProperties.setProperty("sundulCommentIdToDelete","");
  }
  Logger.log(Utilities.jsonStringify(a));
}

3. Setelah dipastekan, sekarang kita pengeditan script ! Pengeditan hanya diedit code yang diberi warna merah. Contohnya 'id facebook mu tempel disini'. Itu berarti anda harus menempelkan id facebook disana.
Untuk mendapatkan id facebook anda bisa melihat diprofil facebook, lalu lihat url dan bisa tampil seperti ini :https://www.facebook.com/naxavanza yang ditandai merah itulah id facebooknya (biasanya id facebook berbeda setiap orang.
4. Pengisian Token facebook tempel di 'token mu tempel disini' disana anda harus menempelkan token. Untuk mendapatkan token anda bisa cari digoogle cara mendapatkan token facebook.
5. Pengisian Nama Facebook anda 'nama fb mu tempel disini' dengan nama asli.
6. Sekarang tahap menjalankannya. Setelah selesai pengeditan kita lanjut ke tahap menjalankannya.

Menjalankan Bot Komen


1. Pencet tombol icon seperti jam dipembuatan script google. Seperti ini :


2. Setelah itu atur waktu untuk menjalankannya apabila anda memilih 5 menit, berarti anda menjalankan 5 menit sekali dan akan terus berjalan dalam tempo jarak 5 menit.
3. Jalankan sekarang dengan pencet tombol run.

Rifki Andrean

Rifki Andrean

Posting Komentar
Diberdayakan oleh Blogger.