Artikel Terkait: Auto Poke ( Colek ) facebook
Pernahkah anda mengupdate status, baru beberapa detik sudah ada yang melike? Itu bukan manual, itu adalah script yang di kerjakan oleh robot.
Yang di butuhkan:
- Hosting (Bisa yang gratisan, googling untuk lebih detail)
Langkah-langkah memasang script:
1. Upload Script ke hosting( Googlig untuk lebih detail )2. Atur cronjob, cronjob berfungsi untuk mengeksekusi kode yang di upload tadi secara otomatis ( Googling, Cara setting cron job)
Silahkan anda lihat contoh script yang berikut ini, ini adalah script untuk melike sebuah postingan beranda secara otomatis. https://github.com/redokusuma/sedotcode/blob/master/AutoLikeBeranda.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
error_reporting(0); | |
$access_token = "access_token_HTC"; | |
function hajar($lol, $dataNya = null) { | |
$fak = curl_init(); | |
curl_setopt($fak, CURLOPT_URL, $lol); | |
if($dataNya != null){ | |
curl_setopt($fak, CURLOPT_POST, true); | |
curl_setopt($fak, CURLOPT_POSTFIELDS, $dataNya); | |
} | |
curl_setopt($fak, CURLOPT_FOLLOWLOCATION, true); | |
curl_setopt($fak, CURLOPT_RETURNTRANSFER, true); | |
curl_setopt($fak, CURLOPT_SSL_VERIFYPEER, false); | |
$adi = curl_exec($fak); | |
curl_close($fak); | |
return $adi; | |
} | |
$njaluk = hajar("https://graph.facebook.com/me/home?fields=id,from&limit=10&access_token=" . $access_token); | |
$stat = json_decode($njaluk, true); | |
$dataLog = "uid"; | |
if (file_exists($dataLog)){ | |
$log = json_encode(file($dataLog)); | |
} else { | |
$log = ''; | |
} | |
for($i=1;$i<=count($stat[data]);$i++){ | |
if(!ereg($stat[data][$i-1][id],$log)){ | |
$x=$stat[data][$i-1][id]."\n"; | |
$y=fopen($dataLog,'a'); | |
fwrite($y,$x); | |
fclose($y); | |
hajar('https://graph.facebook.com/'.$stat[data][$i-1][id].'/likes?method=post&access_token='.$access_token); | |
} | |
} | |
?> |
1. Upload Script ke hosting
Sebelum mengupload ke hosting silahkan buat Access_Token Htc, caranya seperti ini:- Buka link ini : AccessHtc
- Ambil Access_token
Kode access token ini nantinya akan di masukkan kedalam script di atas.
Lebih jelas cara upload kehosting belum saya bahas kesempatan ini, silahkan di cari googling.
2. Atur cronjob
Jika mau script untuk cronjob google drive silahkan beli tool https://goo.gl/O6ewni Gunakan Kupon CUT12 untuk diskon 12$, semua script ada didala grub tersebut.
0 Comment: